diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-09-10 11:10:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-09-10 11:10:32 +0000 |
commit | bef91d180df0491bdfdf22c32a0ba8fa12dc1682 (patch) | |
tree | e59297c8f1e22201f76bf95655611c8ed3a29fba /testing | |
parent | 35a60dff033dc40b08f55775a028d5f152acc138 (diff) | |
download | aports-bef91d180df0491bdfdf22c32a0ba8fa12dc1682.tar.bz2 aports-bef91d180df0491bdfdf22c32a0ba8fa12dc1682.tar.xz |
testing/sircbot: upgrade to 0.2
Diffstat (limited to 'testing')
-rw-r--r-- | testing/sircbot/APKBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/testing/sircbot/APKBUILD b/testing/sircbot/APKBUILD index 85035fc4f..4271ac22b 100644 --- a/testing/sircbot/APKBUILD +++ b/testing/sircbot/APKBUILD @@ -1,17 +1,16 @@ -# Contributor: -# Maintainer: +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=sircbot -pkgver=0.1 -pkgrel=1 +pkgver=0.2 +pkgrel=0 pkgdesc="Minimalistic IRC bot" url="http://git.alpinelinux.org/cgit/sircbot/" license="GPL-2" pkgusers="sircbot" pkggroups="sircbot" depends= -makedepends= +makedepends="lua-dev" install="$pkgname.pre-install" -subpackages= +subpackages="lua-sircbot:luamod" source="http://git.alpinelinux.org/cgit/sircbot/snapshot/sircbot-$pkgver.tar.bz2 sircbot.initd sircbot.confd @@ -29,12 +28,18 @@ build() { package() { cd "$_builddir" - install -m755 -D sircbot "$pkgdir"/usr/bin/sircbot + make install DESTDIR="$pkgdir" prefix=/usr install -o sircbot -g sircbot -d "$pkgdir"/var/run/sircbot install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname } -md5sums="82e4cb6c7207761301e63c24d73afd2c sircbot-0.1.tar.bz2 +luamod() { + pkgdesc="Luamodule for sirbot client" + mkdir -p "$subpkgdir"/usr/ + mv "$pkgdir"/usr/lib "$subpkgdir"/usr/ +} + +md5sums="a9d16db48c97ebfa30e1c84f37e70838 sircbot-0.2.tar.bz2 16790493e7ce465fd776dcfadc002a7c sircbot.initd 8443ac189030c7b8beb8e579dc16ebc7 sircbot.confd" |