mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 13:57:17 +08:00
29 lines
908 B
Bash
29 lines
908 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/libxfixes1
|
|
|
|
pkgname=libxfixes
|
|
# Caution: This package has a lib32 alternative, make sure to update that also
|
|
pkgver=5.0.1
|
|
pkgrel=3
|
|
pkgdesc="X11 miscellaneous 'fixes' extension library"
|
|
arch=('x86_64')
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('libx11' 'fixesproto')
|
|
makedepends=('xorg-util-macros')
|
|
source=("${url}/releases/individual/lib/libXfixes-${pkgver}.tar.bz2")
|
|
sha256sums=('63bec085084fa3caaee5180490dd871f1eb2020ba9e9b39a30f93693ffc34767')
|
|
|
|
build() {
|
|
cd "${srcdir}/libXfixes-${pkgver}"
|
|
./configure --prefix=/usr --sysconfdir=/etc --disable-static
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/libXfixes-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
}
|