mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 02:47:14 +08:00
27 lines
689 B
Bash
27 lines
689 B
Bash
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=xtrans
|
|
pkgver=1.3.2
|
|
pkgrel=1
|
|
pkgdesc="X transport library"
|
|
arch=(any)
|
|
license=('custom')
|
|
url="http://xorg.freedesktop.org/"
|
|
options=(!emptydirs)
|
|
source=(${url}/releases/individual/lib/${pkgname}-${pkgver}.tar.bz2)
|
|
sha1sums=('720928c80323827c9a88bda6990a298489570474')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
install -m755 -d "${pkgdir}/usr/lib"
|
|
mv "${pkgdir}/usr/share/pkgconfig" "${pkgdir}/usr/lib/pkgconfig"
|
|
}
|