mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
27 lines
998 B
Bash
27 lines
998 B
Bash
|
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
||
|
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
||
|
|
||
|
pkgname=tinycdb
|
||
|
pkgver=0.76
|
||
|
pkgrel=1
|
||
|
pkgdesc="very fast and simple package for creating and reading constant data bases"
|
||
|
arch=(i686 x86_64)
|
||
|
url="http://www.corpit.ru/mjt/tinycdb.html"
|
||
|
license=("GPL")
|
||
|
depends=(glibc)
|
||
|
source=(http://www.corpit.ru/mjt/tinycdb/${pkgname}_$pkgver.tar.gz)
|
||
|
md5sums=('77db6fa098b674819ba1e06689bc87e8')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/$pkgname-$pkgver
|
||
|
make || return 1
|
||
|
|
||
|
install -D -m 0644 cdb.h $startdir/pkg/usr/include/cdb.h || return 1
|
||
|
install -D -m 0644 cdb.3 $startdir/pkg/usr/man/man3/cdb.3 || return 1
|
||
|
install -D -m 0644 cdb.1 $startdir/pkg/usr/man/man1/cdb.1 || return 1
|
||
|
install -D -m 0644 cdb.5 $startdir/pkg/usr/man/man5/cdb.5 || return 1
|
||
|
install -D -m 0755 cdb $startdir/pkg/usr/bin/cdb || return 1
|
||
|
install -D -m 0644 libcdb.a $startdir/pkg/usr/lib/libcdb.a || return 1
|
||
|
}
|