PKGBUILDs/community/ustr/PKGBUILD
2009-10-09 21:15:33 -05:00

22 lines
537 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=ustr
pkgver=1.0.4
pkgrel=1
pkgdesc="micro string API for C"
arch=(i686 x86_64)
url="http://www.and.org/ustr/"
license=('GPL')
depends=('glibc')
source=(http://www.and.org/ustr/$pkgver/ustr-$pkgver.tar.bz2)
md5sums=('93147d9f0c9765d4cd0f04f7e44bdfce')
build() {
cd "$startdir/src/$pkgname-$pkgver"
make || return 1
make DESTDIR="$startdir/pkg" install || return 1
mv $pkgdir/usr/share/doc/man $pkgdir/usr/share/
}