mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
22 lines
736 B
Bash
22 lines
736 B
Bash
# Maintainer: damir <damir@archlinux.org>
|
|
|
|
pkgname=barcode
|
|
pkgver=0.98
|
|
pkgrel=2
|
|
pkgdesc="GNU Barcode is a tool to convert text strings to printed bars."
|
|
arch=('arm')
|
|
url="http://www.gnu.org/software/barcode/barcode.html"
|
|
license=('GPL')
|
|
depends=('glibc')
|
|
install=barcode.install
|
|
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('7f10c3307b84a19a4ab2fa4b3f2974da')
|
|
|
|
build() {
|
|
cd $srcdir/$pkgname-$pkgver
|
|
./configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info || return 1
|
|
make || return 1
|
|
make prefix=$pkgdir/usr MAN1DIR=$pkgdir/usr/share/man/man1 \
|
|
MAN3DIR=$pkgdir/usr/share/man/man3 INFODIR=$pkgdir/usr/share/info install || return 1
|
|
gzip $pkgdir/usr/share/info/barcode.info
|
|
}
|