/dbhub/PKGBUILD
#! | 26 lines | 21 code | 5 blank | 0 comment | 0 complexity | b4fb773efc6a810af6b651d1167d7809 MD5 | raw file
Possible License(s): IPL-1.0, Apache-2.0, LGPL-2.0, Unlicense, MPL-2.0-no-copyleft-exception, LGPL-2.1, JSON, GPL-3.0, MPL-2.0, CC0-1.0, CC-BY-SA-3.0, LGPL-3.0, WTFPL, BSD-2-Clause, 0BSD, BitTorrent-1.0, Cube, EPL-1.0, ISC, BSD-3-Clause, AGPL-3.0, GPL-2.0, MIT, AGPL-1.0, CC-BY-3.0
- # Maintainer: Xilon <xilonmu@gmail.com>
- pkgname=dbhub
- pkgver=0.451
- pkgrel=1
- pkgdesc='Direct Connect hub software, based on Open DC Hub but with many enhancements.'
- arch=('i686' 'x86_64')
- url='http://www.dbhub.org'
- license=('GPL')
- depends=('libcap' 'openssl')
- makedepends=('perl')
- source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tbz2")
- md5sums=('79cf321b521b548dabfccdb57500a8f0')
- build() {
- cd "$srcdir/$pkgname-$pkgver"
- sed -i 's/^\(ACLOCAL=.*\)-${am__api_version}\(.*\)$/\1\2/' configure
- sed -i 's/^\(AUTOMAKE=.*\)-${am__api_version}\(.*\)$/\1\2/' configure
- ./configure --prefix=/usr --enable-switch-user --enable-perl \
- CFLAGS="$CFLAGS" || return 1
- make || return 1
- make DESTDIR="$pkgdir" install || return 1
- }