summaryrefslogtreecommitdiff
path: root/community/ustr/PKGBUILD
blob: 721e23528eb5dd98c578c6862b948407f1a8e801 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 'mips64el')
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/
}