summaryrefslogtreecommitdiff
path: root/community/libident/PKGBUILD
blob: db678c3d853fe3ff7928ab9efa5f3f9e3140d25b (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
# $Id: PKGBUILD 67228 2012-03-05 13:41:53Z arodseth $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Mateusz Herych <heniekk@gmail.com>
#
# TODO: Write a pkg-conf file

pkgname=libident
pkgver=0.32
pkgrel=3
pkgdesc="New libident C library"
arch=('x86_64' 'i686')
url="http://www.remlab.net/libident/"
license=('custom')
options=('!libtool')
source=("http://www.remlab.net/files/libident/libident-$pkgver.tar.gz")
sha256sums=('8cc8fb69f1c888be7cffde7f4caeb3dc6cd0abbc475337683a720aa7638a174b')

build() {
  cd "$srcdir/$pkgname-$pkgver"

  ./configure --prefix=/usr \
    --sysconfdir=/etc \
    --mandir=/usr/share/man
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
  install -Dm755 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}

# vim:set ts=2 sw=2 et: