aboutsummaryrefslogtreecommitdiffstats
path: root/main/atheme-iris/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-06-26 13:00:38 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-06-26 13:13:58 +0000
commite7604ea2ccc65d83e89be57314112c2c4662d9bd (patch)
treea5a0f1e7bf8e689c2da455bcf0153789dced5ac8 /main/atheme-iris/APKBUILD
parent6c9c1be49d60d503b0da39ab0fa0a5b5325d524c (diff)
downloadaports-e7604ea2ccc65d83e89be57314112c2c4662d9bd.tar.bz2
aports-e7604ea2ccc65d83e89be57314112c2c4662d9bd.tar.xz
main/atheme-iris: moved from testing
Diffstat (limited to 'main/atheme-iris/APKBUILD')
-rw-r--r--main/atheme-iris/APKBUILD53
1 files changed, 53 insertions, 0 deletions
diff --git a/main/atheme-iris/APKBUILD b/main/atheme-iris/APKBUILD
new file mode 100644
index 0000000000..d9f3932b64
--- /dev/null
+++ b/main/atheme-iris/APKBUILD
@@ -0,0 +1,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"