APKBUILD 2.23 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_git20160428
5
pkgrel=2
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="GPL-2.0"
10
depends="py-twisted py-simplejson py-openssl py-zope-interface"
11
depends_dev=""
12
makedepends="$depends_dev python2-dev"
13 14 15 16 17 18 19 20 21 22 23 24 25
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
26
}
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43

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
}

44
md5sums="013d31d74282784eda19c8c0f15fa241  atheme-iris-0_git20160428.tar.gz
45
bfbcb071be8eccb3100a77414b78a462  atheme-iris.initd
46
a62994955210ba7d0b8dcbd293b853c4  atheme-iris.confd"
47
sha256sums="935be969e101304b38d22d54d9647809f36ac687495e3b091d2a488fb5b389fd  atheme-iris-0_git20160428.tar.gz
48
ee92a0029f5aaea0642dcdbe07fab47fa5fd0f71eb9bc91762b02d5fb0994886  atheme-iris.initd
49
869cfcac43bcb4f27f57e9f25afab45797adcd70996296f6885e08bbdb82c6f0  atheme-iris.confd"
50
sha512sums="f664ac600f7d2972625a9c172016ad37606828ea705c46b0ebfac650a8e47bebde1fbc888d82445dcde04d2debbbac85e41edf0f2243754b68f7277943841b8f  atheme-iris-0_git20160428.tar.gz
51
a2d3bd49764fbf30eeb3a4357b8c2afeb863b75f17be65efaa7da169c9b728f476255f25cedf8c002e1241b05e4de153b8f211961a9514ca8c1641aee776d991  atheme-iris.initd
52
c8ba5df2b1174a0c694e82a8f8b595f10caed6ca03c9667c596bb004151ed66023dd75eecce1948408620bcaef270a7e097754966580085745a5bae14590a1ec  atheme-iris.confd"