blob: a527917398412831d6cfca29297cd652d9cc0b38 (
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
|
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=atheme-iris
pkgver=0_git20160428
pkgrel=2
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-simplejson py-openssl py-zope-interface"
depends_dev=""
makedepends="$depends_dev python2-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="013d31d74282784eda19c8c0f15fa241 atheme-iris-0_git20160428.tar.gz
bfbcb071be8eccb3100a77414b78a462 atheme-iris.initd
a62994955210ba7d0b8dcbd293b853c4 atheme-iris.confd"
sha256sums="935be969e101304b38d22d54d9647809f36ac687495e3b091d2a488fb5b389fd atheme-iris-0_git20160428.tar.gz
ee92a0029f5aaea0642dcdbe07fab47fa5fd0f71eb9bc91762b02d5fb0994886 atheme-iris.initd
869cfcac43bcb4f27f57e9f25afab45797adcd70996296f6885e08bbdb82c6f0 atheme-iris.confd"
sha512sums="f664ac600f7d2972625a9c172016ad37606828ea705c46b0ebfac650a8e47bebde1fbc888d82445dcde04d2debbbac85e41edf0f2243754b68f7277943841b8f atheme-iris-0_git20160428.tar.gz
a2d3bd49764fbf30eeb3a4357b8c2afeb863b75f17be65efaa7da169c9b728f476255f25cedf8c002e1241b05e4de153b8f211961a9514ca8c1641aee776d991 atheme-iris.initd
c8ba5df2b1174a0c694e82a8f8b595f10caed6ca03c9667c596bb004151ed66023dd75eecce1948408620bcaef270a7e097754966580085745a5bae14590a1ec atheme-iris.confd"
|