# Maintainer: Natanael Copa pkgname=xtrans pkgver=1.3.5 pkgrel=0 pkgdesc="X transport library" url="http://xorg.freedesktop.org/" arch="noarch" license="custom" depends="" makedepends="" source="http://www.x.org/releases/individual/lib/$pkgname-$pkgver.tar.bz2" _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" } build() { cd "$_builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } md5sums="c5ba432dd1514d858053ffe9f4737dd8 xtrans-1.3.5.tar.bz2" sha256sums="adbd3b36932ce4c062cd10f57d78a156ba98d618bdb6f50664da327502bc8301 xtrans-1.3.5.tar.bz2" sha512sums="049fb996313e8a1625b66e1645a5f56d8a26c5dd91afe5869269716fce05f6c97c84f8ce4a6df2057106b47982c8291cecc223bef241f694174434c981a7029b xtrans-1.3.5.tar.bz2"