diff options
Diffstat (limited to 'community/ustr')
-rw-r--r-- | community/ustr/PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/community/ustr/PKGBUILD b/community/ustr/PKGBUILD new file mode 100644 index 000000000..9525962a1 --- /dev/null +++ b/community/ustr/PKGBUILD @@ -0,0 +1,22 @@ +# $Id: PKGBUILD 17701 2010-05-24 20:44:23Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=ustr +pkgver=1.0.4 +pkgrel=2 +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 "$srcdir/$pkgname-$pkgver" + + make || return 1 + make DESTDIR="$pkgdir" install || return 1 + + mv $pkgdir/usr/share/doc/man $pkgdir/usr/share/ +} |