summaryrefslogtreecommitdiff
path: root/community/barcode/PKGBUILD
blob: 4748943b9fc695400146c3053d11a70f38ccf11c (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
25
26
27
28
# $Id: PKGBUILD 102195 2013-12-06 13:05:07Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>

pkgname=barcode
pkgver=0.99
pkgrel=1
pkgdesc="A tool to convert text strings to printed bars"
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/barcode/"
license=('GPL')
depends=('glibc')
install=barcode.install
source=("ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz")
md5sums=('cdc504ee1020e27fbfeebcb0718de054')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr

  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make prefix="${pkgdir}/usr" install
}