PageRenderTime 54ms CodeModel.GetById 30ms RepoModel.GetById 0ms app.codeStats 0ms

/dbhub/PKGBUILD

https://bitbucket.org/axil42/aur-mirror
#! | 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
  1. # Maintainer: Xilon <xilonmu@gmail.com>
  2. pkgname=dbhub
  3. pkgver=0.451
  4. pkgrel=1
  5. pkgdesc='Direct Connect hub software, based on Open DC Hub but with many enhancements.'
  6. arch=('i686' 'x86_64')
  7. url='http://www.dbhub.org'
  8. license=('GPL')
  9. depends=('libcap' 'openssl')
  10. makedepends=('perl')
  11. source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tbz2")
  12. md5sums=('79cf321b521b548dabfccdb57500a8f0')
  13. build() {
  14. cd "$srcdir/$pkgname-$pkgver"
  15. sed -i 's/^\(ACLOCAL=.*\)-${am__api_version}\(.*\)$/\1\2/' configure
  16. sed -i 's/^\(AUTOMAKE=.*\)-${am__api_version}\(.*\)$/\1\2/' configure
  17. ./configure --prefix=/usr --enable-switch-user --enable-perl \
  18. CFLAGS="$CFLAGS" || return 1
  19. make || return 1
  20. make DESTDIR="$pkgdir" install || return 1
  21. }