mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-09 22:17:15 +08:00
33 lines
822 B
Bash
33 lines
822 B
Bash
# Part of X.org group
|
|
# Maintainer: Neophytos Kolokotronis <tetris4 AT gmail DOT com>
|
|
# Contributor: abveritas@chakra-project.org
|
|
|
|
pkgname=xorg-util-macros
|
|
pkgver=1.19.0
|
|
pkgrel=1
|
|
pkgdesc="X.Org Autotools macros"
|
|
arch=('x86_64')
|
|
license=('custom')
|
|
url="http://xorg.freedesktop.org/"
|
|
source=("http://ftp.x.org/pub/individual/util/util-macros-${pkgver}.tar.bz2")
|
|
sha1sums=('00cfc636694000112924198e6b9e4d72f1601338')
|
|
|
|
build() {
|
|
cd "${srcdir}/util-macros-${pkgver}"
|
|
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/util-macros-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
install -dm755 "${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}/"
|
|
}
|
|
|