APKBUILD 2.3 KB
Newer Older
1 2 3
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=atheme-iris
4
pkgver=0_git20140723
5
pkgrel=4
6 7 8
pkgdesc="AJAX IRC client. It is a drop-in replacement for qwebirc."
url="http://www.atheme.net/iris.html"
arch="noarch"
9
license="GPL2"
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
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
}

45
md5sums="b7fe963c5ad2d9697c8fd17a153797b2  atheme-iris-0_git20140723.tar.gz
46
bfbcb071be8eccb3100a77414b78a462  atheme-iris.initd
47
a62994955210ba7d0b8dcbd293b853c4  atheme-iris.confd"
48
sha256sums="86b436b0b1de8d0a4465c465dadd7f0f4c4e4a364d4e4a032f9208d143bd39f6  atheme-iris-0_git20140723.tar.gz
49
ee92a0029f5aaea0642dcdbe07fab47fa5fd0f71eb9bc91762b02d5fb0994886  atheme-iris.initd
50
869cfcac43bcb4f27f57e9f25afab45797adcd70996296f6885e08bbdb82c6f0  atheme-iris.confd"
51
sha512sums="042356afb937c5233ac3e0c51bed8d194421262dbe667e46733f03c0ee31c036dcc05beaa86c8259f1983ccd38a11247ae60827b197fdb4c4f81b531d565e204  atheme-iris-0_git20140723.tar.gz
52
a2d3bd49764fbf30eeb3a4357b8c2afeb863b75f17be65efaa7da169c9b728f476255f25cedf8c002e1241b05e4de153b8f211961a9514ca8c1641aee776d991  atheme-iris.initd
53
c8ba5df2b1174a0c694e82a8f8b595f10caed6ca03c9667c596bb004151ed66023dd75eecce1948408620bcaef270a7e097754966580085745a5bae14590a1ec  atheme-iris.confd"