summaryrefslogtreecommitdiff
path: root/social/lockfile-progs/PKGBUILD
blob: 5e404c684b10961a384b10c870441635783f6e2e (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
# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>

pkgname=lockfile-progs
pkgver=0.1.15
pkgrel=1
pkgdesc="programs for locking and unlocking files and mailboxes"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://packages.debian.org/unstable/misc/lockfile-progs"
depends=('glibc')
makedepends=('liblockfile')
source=(http://ftp.debian.org/debian/pool/main/l/lockfile-progs/${pkgname}_${pkgver}.tar.gz)

build() {
    cd $srcdir/sid

    [ "$CARCH" = "mips64el" ] && sed -i "s/-Werror//" Makefile

    make

    mkdir -p $startdir/pkg/usr/bin
    install -s bin/* $startdir/pkg/usr/bin

    mkdir -p $startdir/pkg/usr/share/man/man1
    install man/*.1 $startdir/pkg/usr/share/man/man1
}

md5sums=('abfcda83a1868073673f4d78066b8f8a')