2023-10-25 22:53:49 +00:00
|
|
|
# Author: Kevin MacMartin <prurigro@gmail.com>
|
|
|
|
# Imported for use on https://code.fleshless.org
|
2016-01-16 16:48:44 +00:00
|
|
|
|
|
|
|
pkgname=ircd-ratbox
|
2016-05-24 09:10:24 +00:00
|
|
|
pkgver=3.0.10
|
2022-03-15 03:45:05 +00:00
|
|
|
pkgrel=3
|
2016-01-16 16:48:44 +00:00
|
|
|
pkgdesc='An advanced, stable and fast ircd'
|
|
|
|
url='http://www.ratbox.org'
|
2023-10-25 22:53:49 +00:00
|
|
|
license=('GPL')
|
|
|
|
depends=('openssl' 'sqlite' 'libtool')
|
|
|
|
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h')
|
|
|
|
backup=("etc/$pkgname/ircd.motd")
|
|
|
|
install="$pkgname.install"
|
2016-01-16 16:48:44 +00:00
|
|
|
|
2023-10-25 22:53:49 +00:00
|
|
|
source=(
|
|
|
|
"http://www.ratbox.org/download/$pkgname-$pkgver.tar.bz2"
|
|
|
|
"$pkgname.service"
|
|
|
|
"$pkgname.conf"
|
|
|
|
)
|
2016-01-16 16:48:44 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$pkgname-$pkgver"
|
2023-10-25 22:53:49 +00:00
|
|
|
|
|
|
|
./configure --prefix="/usr/share/$pkgname" \
|
|
|
|
--with-confdir="/etc/$pkgname" \
|
|
|
|
--with-logdir="/var/log/$pkgname" \
|
2016-01-16 16:48:44 +00:00
|
|
|
--bindir=/usr/bin
|
|
|
|
|
|
|
|
make
|
2023-10-25 22:53:49 +00:00
|
|
|
cd contrib
|
|
|
|
make
|
2016-01-16 16:48:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2023-10-25 22:53:49 +00:00
|
|
|
install -d "$pkgdir/etc/$pkgname"
|
|
|
|
install -Dm644 $pkgname.service "$pkgdir/usr/lib/systemd/system/$pkgname.service"
|
|
|
|
install -Dm644 $pkgname.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
|
|
|
|
cd $pkgname-$pkgver
|
2016-01-16 16:48:44 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
2023-10-25 22:53:49 +00:00
|
|
|
install -d "$pkgdir/usr/share/$pkgname/modules/contrib/"
|
|
|
|
cp contrib/.libs/*.so "$pkgdir/usr/share/$pkgname/modules/contrib/"
|
2016-01-16 16:48:44 +00:00
|
|
|
}
|
|
|
|
|
2023-10-25 22:53:49 +00:00
|
|
|
sha1sums=('fa1645495c765cf921726b65172ff5eceeea008a'
|
|
|
|
'84fb85e7c8b858e8e11be11e8abe60e3cada3c80'
|
|
|
|
'3dd5270ced5243adf4dde43ef11c3a0a68001240')
|