new bblfs: x11-base/xcb-proto-1.17.0
This commit is contained in:
31
x11-base/xcb-proto-1.17.0.PKGBUILD
Normal file
31
x11-base/xcb-proto-1.17.0.PKGBUILD
Normal file
@@ -0,0 +1,31 @@
|
||||
pkgname=xcb-proto
|
||||
pkgver=1.17.0
|
||||
pkgdesc="XML-XCB protocol descriptions"
|
||||
arch=(any)
|
||||
homepage="https://xcb.freedesktop.org/"
|
||||
license=('X11-distribute-modifications-variant')
|
||||
makedepends=('python' 'libxml2')
|
||||
sources=("$pkgname-$pkgver.tar.xz")
|
||||
urls=("https://xorg.freedesktop.org/archive/individual/proto/${sources[0]}")
|
||||
md5sums=("c415553d2ee1a8cea43c3234a079b53f")
|
||||
|
||||
src_prepare() {
|
||||
tar -xf ${distdir}/${sources[0]} --strip-components=1
|
||||
}
|
||||
|
||||
src_build() {
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
}
|
||||
|
||||
src_check() {
|
||||
make check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
make DESTDIR="$pkgdir" install
|
||||
install -m755 -d "$pkgdir/usr/share/licenses/$pkgname"
|
||||
install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
|
||||
# vim:ft=sh syn=sh et sw=2:
|
||||
Reference in New Issue
Block a user