summaryrefslogtreecommitdiff
path: root/community/lockfile-progs/PKGBUILD
blob: 8d2b6c30f3cd9d06a1220ba8ed6e75cae958c08f (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
# $Id: PKGBUILD 66210 2012-02-23 03:23:57Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andreas Wagner <Andreas dot Wagner at em dot uni-frankfurt dot de>

pkgname=lockfile-progs
pkgver=0.1.15
pkgrel=2
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=('gcc' 'make' 'liblockfile')
source=(http://ftp.debian.org/debian/pool/main/l/lockfile-progs/${pkgname}_${pkgver}.tar.gz)
md5sums=('abfcda83a1868073673f4d78066b8f8a')

build() {
    cd $srcdir/sid
    make CFLAGS="-g -Wall -O2"
}

package() {
    cd $srcdir/sid
    mkdir -p $pkgdir/usr/bin
    install -s bin/* $pkgdir/usr/bin
    mkdir -p $pkgdir/usr/share/man/man1
    install man/*.1 $pkgdir/usr/share/man/man1
}