ircd-ratbox/PKGBUILD
fbt f0b47da314 libcrypt.so.1: cannot open shared object file
Signed-off-by: fbt <fbt@fleshless.org>
2022-03-15 06:05:51 +03:00

35 lines
726 B
Bash

# vim: ft=sh
# % Trigger: 32489271948127389 %
pkgname=ircd-ratbox
pkgver=3.0.10
pkgrel=2
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" )
options=( '!makeflags' )
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
}
sha1sums=('fa1645495c765cf921726b65172ff5eceeea008a')