summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 393ac80e94d5a52a1903f976ff31ef876ae309b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Evan Anderson <evananderson@thelinuxman.us>
pkgname=authbind
pkgver=2.1.1
pkgrel=1
pkgdesc="Allows non-root programs to bind() to low TCP ports (0-1023)"
arch=('i686' 'x86_64')
url="http://packages.qa.debian.org/a/authbind.html"
license=('GPL')
depends=('glibc')
source=(http://ftp.debian.org/debian/pool/main/a/${pkgname}/${pkgname}_${pkgver}.tar.gz)
md5sums=('ef3cd5eef28519b8daf248e3761dd9bd')

build() {
    cd "$srcdir/$pkgname-$pkgver"
    make prefix=/usr
}

package() {
    cd "$srcdir/$pkgname-$pkgver"
    mkdir -p "$pkgdir/usr/bin" "$pkgdir/usr/share/man/man1"
    make prefix="$pkgdir/usr" etc_dir="$pkgdir/etc/authbind" install install_man
}