ircd-ratbox/PKGBUILD

35 lines
719 B
Bash
Raw Normal View History

2016-01-16 16:48:44 +00:00
# vim: ft=sh
# % Trigger: 1510245375 %
2016-01-16 16:48:44 +00:00
pkgname=ircd-ratbox
2016-05-24 09:10:24 +00:00
pkgver=3.0.10
2016-01-16 16:48:44 +00:00
pkgrel=1
pkgdesc='An advanced, stable and fast ircd'
url='http://www.ratbox.org'
license=( 'GPL' )
depends=( 'openssl' 'sqlite' )
arch=( 'i686' 'x86_64' 'arm' 'armv6h' 'armv7h' )
backup=( "etc/$pkgname/ircd.motd" )
2016-05-24 09:10:24 +00:00
options=( '!makeflags' )
2016-01-16 16:48:44 +00:00
source=( "http://www.ratbox.org/download/$pkgname-$pkgver.tar.bz2" )
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr/share/"$pkgname" \
--with-confdir=/etc/"$pkgname" \
--with-logdir=/var/log/"$pkgname" \
--bindir=/usr/bin
make
}
package() {
mkdir -m755 "$pkgdir/etc"
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}
2016-05-24 09:10:24 +00:00
sha1sums=('fa1645495c765cf921726b65172ff5eceeea008a')