diff options
author | Chocobo1 | 2019-05-16 20:52:40 +0800 |
---|---|---|
committer | Chocobo1 | 2019-05-16 20:52:40 +0800 |
commit | 5ad0030ced82dd98b49d30ae87c5eff3cbb7f336 (patch) | |
tree | b7cbf8c594938d9856bca3da9a6d6bf77820422c | |
download | aur-5ad0030ced82dd98b49d30ae87c5eff3cbb7f336.tar.gz |
newpkg: libxext-git 1.3.4.r0.gebb167f-1
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 45 |
2 files changed, 66 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2caad82dc5e3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = libxext-git + pkgdesc = X11 common extensions library + pkgver = 1.3.4.r0.gebb167f + pkgrel = 1 + url = https://www.x.org/wiki/ + arch = i686 + arch = x86_64 + license = custom + makedepends = git + makedepends = xorg-util-macros + depends = glibc + depends = libx11 + depends = xextproto + provides = libxext + conflicts = libxext + options = staticlibs + source = git+https://gitlab.freedesktop.org/xorg/lib/libxext.git + sha256sums = SKIP + +pkgname = libxext-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fe6e4c251319 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> + +pkgname=libxext-git +pkgver=1.3.4.r0.gebb167f +pkgrel=1 +pkgdesc="X11 common extensions library" +arch=('i686' 'x86_64') +url="https://www.x.org/wiki/" +license=('custom') +depends=('glibc' 'libx11' 'xextproto') +makedepends=('git' 'xorg-util-macros') +provides=('libxext') +conflicts=('libxext') +options=('staticlibs') +source=("git+https://gitlab.freedesktop.org/xorg/lib/libxext.git") +sha256sums=('SKIP') + + +pkgver() { + cd "libxext" + + git describe --long --tags | sed 's/^libXext-//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "libxext" + + NOCONFIGURE=1 ./autogen.sh + ./configure \ + --prefix="/usr" + make +} + +check() { + cd "libxext" + + make check +} + +package() { + cd "libxext" + + make DESTDIR="$pkgdir" install + install -Dm644 "COPYING" -t "$pkgdir/usr/share/licenses/libxext" +} |