blob: 4f9a8fbe19d4827071ed8b85da8113a30191bead (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# Maintainer: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: 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://sourceforge.net/projects/dbhub/'
license=('GPL')
depends=('libcap' 'openssl')
makedepends=('perl')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tbz2)
md5sums=('79cf321b521b548dabfccdb57500a8f0')
prepare() {
cd "${srcdir}"/$pkgname-$pkgver
sed -i 's/^\(ACLOCAL=.*\)-${am__api_version}\(.*\)$/\1\2/' configure
sed -i 's/^\(AUTOMAKE=.*\)-${am__api_version}\(.*\)$/\1\2/' configure
}
build() {
cd "${srcdir}"/$pkgname-$pkgver
./configure --prefix=/usr --enable-switch-user --enable-perl CFLAGS="$CFLAGS"
make
}
package() {
cd "${srcdir}"/$pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}
|