blob: c2dda6990c3baad4a7db474cd88fe1457117be9c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=atheme-iris
pkgver=0_git20140723
pkgrel=3
pkgdesc="AJAX IRC client. It is a drop-in replacement for qwebirc."
url="http://www.atheme.net/iris.html"
arch="noarch"
license="GPL2"
depends="py-twisted py-twisted-names py-twisted-mail py-twisted-web \
py-twisted-words py-simplejson py-openssl py-zope-interface"
depends_dev=""
makedepends="$depends_dev python-dev"
install="$pkgname.post-install $pkgname.pre-install"
subpackages=""
source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz
$pkgname.initd
$pkgname.confd"
pkgusers="iris"
pkggroups="iris"
_builddir="$srcdir"/$pkgname-$pkgver
giturl="git://github.com/atheme/iris.git"
disturl="dev.alpinelinux.org:/archive/$pkgname"
build() {
cd "$_builddir"
return 0
}
package() {
cd "$_builddir"
mkdir -p $pkgdir/etc/$pkgname
mkdir -p $pkgdir/var/lib/$pkgname
mkdir -p $pkgdir/var/log/$pkgname
mkdir -p $pkgdir/etc/conf.d
mkdir -p $pkgdir/etc/init.d
cp "$srcdir"/$pkgname.confd $pkgdir/etc/conf.d/$pkgname
cp "$srcdir"/$pkgname.initd $pkgdir/etc/init.d/$pkgname
cp -r * $pkgdir/var/lib/$pkgname
cp iris.conf.example $pkgdir/etc/$pkgname/iris.conf
ln -s /etc/$pkgname/iris.conf $pkgdir/var/lib/$pkgname/iris.conf
chown iris:iris $pkgdir/var/log/$pkgname
chown -R iris:iris $pkgdir/var/lib/$pkgname
}
md5sums="b7fe963c5ad2d9697c8fd17a153797b2 atheme-iris-0_git20140723.tar.gz
5b2081f374dcfa4e84f0c6c0474bad45 atheme-iris.initd
a62994955210ba7d0b8dcbd293b853c4 atheme-iris.confd"
sha256sums="86b436b0b1de8d0a4465c465dadd7f0f4c4e4a364d4e4a032f9208d143bd39f6 atheme-iris-0_git20140723.tar.gz
9c62c3a6750743e483dc6a62f1767a08f2d9fd48bdf203fa6ee80b1aeedf1b1a atheme-iris.initd
869cfcac43bcb4f27f57e9f25afab45797adcd70996296f6885e08bbdb82c6f0 atheme-iris.confd"
sha512sums="042356afb937c5233ac3e0c51bed8d194421262dbe667e46733f03c0ee31c036dcc05beaa86c8259f1983ccd38a11247ae60827b197fdb4c4f81b531d565e204 atheme-iris-0_git20140723.tar.gz
2139610a9926fca15ecc04c9bf4354f6d950408fa7b3fc0b42ce1e707bb6eed1fb55c2c5c2b41a7c0fd35f91b5dbfedd47ff324c0eca84f8f240eb4474a7100b atheme-iris.initd
c8ba5df2b1174a0c694e82a8f8b595f10caed6ca03c9667c596bb004151ed66023dd75eecce1948408620bcaef270a7e097754966580085745a5bae14590a1ec atheme-iris.confd"
|