# Contributor: # Maintainer: pkgname=sircbot pkgver=0.1 pkgrel=1 pkgdesc="Minimalistic IRC bot" url="http://git.alpinelinux.org/cgit/sircbot/" license="GPL-2" pkgusers="sircbot" pkggroups="sircbot" depends= makedepends= install="$pkgname.pre-install" subpackages= source="http://git.alpinelinux.org/cgit/sircbot/snapshot/sircbot-$pkgver.tar.bz2 sircbot.initd sircbot.confd " _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" } build() { cd "$_builddir" make || return 1 } package() { cd "$_builddir" install -m755 -D sircbot "$pkgdir"/usr/bin/sircbot 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 16790493e7ce465fd776dcfadc002a7c sircbot.initd 8443ac189030c7b8beb8e579dc16ebc7 sircbot.confd"