updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / libcdk / PKGBUILD
blobd0f484898b8fa780c34c168e3179461fa79c8348
1 # Maintainer: Alexander Rødseth <rodseth@gmail.com>
2 # Contributor: Gerhard Brauer <gerhard.brauer@web.de>
3 pkgname=libcdk
4 pkgver=5.0.20110517
5 pkgrel=2
6 pkgdesc="Curses Development Kit - widget library, enhanced version"
7 arch=('x86_64' 'i686')
8 url="http://invisible-island.net/cdk/"
9 license=('custom')
10 depends=('bash')
11 options=(!emptydirs)
12 source=("ftp://invisible-island.net/cdk/cdk.tar.gz")
13 md5sums=('5b55943f16c7110d91d4d59073abdcac')
15 build() {
16   cd "$srcdir/cdk-`echo $pkgver | sed 's|\.2|-2|'`"
18   msg2 "Configuring..."
19   ./configure --prefix=/usr --mandir=/usr/share/man
21   msg2 "Compiling..."
22   make
24   
25 package() {
26   cd "$srcdir/cdk-`echo $pkgver | sed 's|\.2|-2|'`"
28   msg2 "Packaging..."
29   make \
30     DOCUMENT_DIR="$pkgdir/usr/share/doc/cdk" \
31     DESTDIR="$pkgdir/" \
32     install
33   make \
34     DESTDIR="$pkgdir/" \
35     installCDKSHLibrary
37   msg2 "Packaging license..."
38   install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
41 # vim:set ts=2 sw=2 et: