summaryrefslogtreecommitdiff
path: root/community/ustr/PKGBUILD
blob: 89002c907a35f92132c32904763c16f30b7666b7 (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
# $Id: PKGBUILD 100295 2013-11-02 08:51:09Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=ustr
pkgver=1.0.4
pkgrel=4
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
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
  mv $pkgdir/usr/share/doc/man $pkgdir/usr/share/
}