aboutsummaryrefslogtreecommitdiffstats
path: root/main/atheme-iris/APKBUILD
blob: d9f3932b64a40a06b39268e3306703a117898c2a (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_git20130321
pkgrel=0
pkgdesc="AJAX IRC client. It is a drop-in replacement for qwebirc."
url="http://www.atheme.net/iris.html"
arch="noarch"
license="GPL"
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="585542134f78c4d3575c631abc97084e  atheme-iris-0_git20130321.tar.gz
5b2081f374dcfa4e84f0c6c0474bad45  atheme-iris.initd
a62994955210ba7d0b8dcbd293b853c4  atheme-iris.confd"
sha256sums="b3221414513d9ceca7176a60b952e2f63d0d390f995de763b8664655c47429d1  atheme-iris-0_git20130321.tar.gz
9c62c3a6750743e483dc6a62f1767a08f2d9fd48bdf203fa6ee80b1aeedf1b1a  atheme-iris.initd
869cfcac43bcb4f27f57e9f25afab45797adcd70996296f6885e08bbdb82c6f0  atheme-iris.confd"
sha512sums="643fbee939ae4e3aee95488b252470d8dddc6f69839c9b7e44dccc3ae157b60a112a65192a1600c636fa183674a3c932f016201c557101d3ecdc2243bf5fdc74  atheme-iris-0_git20130321.tar.gz
2139610a9926fca15ecc04c9bf4354f6d950408fa7b3fc0b42ce1e707bb6eed1fb55c2c5c2b41a7c0fd35f91b5dbfedd47ff324c0eca84f8f240eb4474a7100b  atheme-iris.initd
c8ba5df2b1174a0c694e82a8f8b595f10caed6ca03c9667c596bb004151ed66023dd75eecce1948408620bcaef270a7e097754966580085745a5bae14590a1ec  atheme-iris.confd"