aboutsummaryrefslogtreecommitdiffstats
path: root/main/atheme-iris/APKBUILD
blob: e887968710aa50ae74a9e1b18f79d045c071d682 (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_git20150528
pkgrel=0
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 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="dff0183c2aef35d08dccf3b8b746ae7b  atheme-iris-0_git20150528.tar.gz
bfbcb071be8eccb3100a77414b78a462  atheme-iris.initd
a62994955210ba7d0b8dcbd293b853c4  atheme-iris.confd"
sha256sums="b3f2c19054b4fe229e2bd3aad4d4d474ac0d88b61cf0ea642d71079d7e5f70b5  atheme-iris-0_git20150528.tar.gz
ee92a0029f5aaea0642dcdbe07fab47fa5fd0f71eb9bc91762b02d5fb0994886  atheme-iris.initd
869cfcac43bcb4f27f57e9f25afab45797adcd70996296f6885e08bbdb82c6f0  atheme-iris.confd"
sha512sums="4183baf41a48a29fa78e90f0da94288c578cd81a28e0275344b2b9c65f6a8f6bbd5944fe972c9f1fc45099b1010c2310a0d634f5964dbe908d2c6ec881774fb0  atheme-iris-0_git20150528.tar.gz
a2d3bd49764fbf30eeb3a4357b8c2afeb863b75f17be65efaa7da169c9b728f476255f25cedf8c002e1241b05e4de153b8f211961a9514ca8c1641aee776d991  atheme-iris.initd
c8ba5df2b1174a0c694e82a8f8b595f10caed6ca03c9667c596bb004151ed66023dd75eecce1948408620bcaef270a7e097754966580085745a5bae14590a1ec  atheme-iris.confd"