PKGBUILDs/extra/xtrans/PKGBUILD

22 lines
652 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Alexander Baldeck <alexander@archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
2009-09-26 14:35:50 +00:00
pkgname=xtrans
pkgver=1.2.3
pkgrel=1
pkgdesc="X transport library"
arch=('arm')
2009-09-26 14:35:50 +00:00
license=('custom')
url="http://xorg.freedesktop.org/"
source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
md5sums=('f9cf791dfad59cf044e276aab3a71e1d')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/" || return 1
}