summaryrefslogtreecommitdiff
path: root/community/libnih/PKGBUILD
blob: 08e62ced71e255ca4f5dc93d6a7fa8bb4d340465 (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 110121 2014-04-24 14:04:05Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Old Maintainer: Andrea Fagiani <andfagiani {at} gmail {dot} com>
# Contributor: Brett Mravec <brett.mravec@gmail.com>

pkgname=libnih
pkgver=1.0.3
pkgrel=1
pkgdesc="Small library for C application development."
arch=(i686 x86_64)
url="https://launchpad.net/libnih"
license=('GPL')
depends=('dbus-core')
makedepends=('expat')
options=(!libtool)
source=(http://launchpad.net/libnih/1.0/${pkgver}/+download/$pkgname-$pkgver.tar.gz)
md5sums=('db7990ce55e01daffe19006524a1ccb0')

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

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir/ install
}