mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 02:57:14 +08:00
25 lines
646 B
Bash
25 lines
646 B
Bash
# Maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=xproto
|
|
pkgver=7.0.25
|
|
pkgrel=1
|
|
pkgdesc="X11 core wire protocol and auxiliary headers"
|
|
arch=(x86_64)
|
|
license=('custom')
|
|
url="http://xorg.freedesktop.org/"
|
|
source=(${url}/releases/individual/proto/${pkgname}-${pkgver}.tar.bz2)
|
|
sha1sums=('335f84713f9da3f77c48536f53abb9b03bcb3961')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
}
|