blob: f14db73a5e0a904c2fe7822e28ed94cbfc2ba0a0 (
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
29
30
31
32
33
34
35
36
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xtrans
pkgver=1.3.4
pkgrel=0
pkgdesc="X transport library"
url="http://xorg.freedesktop.org/"
arch="noarch"
license="custom"
depends=""
makedepends=""
source="http://xorg.freedesktop.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="a615e17d9fee6f097fc3b716eacb3dca xtrans-1.3.4.tar.bz2"
sha256sums="054d4ee3efd52508c753e9f7bc655ef185a29bd2850dd9e2fc2ccc33544f583a xtrans-1.3.4.tar.bz2"
sha512sums="0bdf6f120d9a7f5cf39e53e81fd3a6e41ee5949931cb05119261fbfd26c32c7793358ed353f20c8a9efb12897c936f0eca3e63891b4f3b4a3eea3652913715d5 xtrans-1.3.4.tar.bz2"
|