Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (22 sloc) 683 Bytes
pkgname=xorg-util-macros
pkgver=1.19.2
pkgrel=1
pkgdesc="X.Org Autotools macros"
arch=('x86_64')
license=('custom')
url="https://xorg.freedesktop.org/"
source=("https://ftp.x.org/pub/individual/util/util-macros-${pkgver}.tar.bz2")
sha256sums=('d7e43376ad220411499a79735020f9d145fdc159284867e99467e0d771f3e712')
build() {
cd util-macros-${pkgver}
./configure --prefix=/usr
make
}
package() {
cd util-macros-${pkgver}
make DESTDIR=${pkgdir} install
install -m755 -d ${pkgdir}/usr/lib
mv ${pkgdir}/usr/share/pkgconfig ${pkgdir}/usr/lib/
install -m755 -d ${pkgdir}/usr/share/licenses/${pkgname}
install -m644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/
}