diff options
author | Vincent Grande | 2020-09-20 14:22:50 -0400 |
---|---|---|
committer | Vincent Grande | 2020-09-20 14:22:50 -0400 |
commit | 69dd8bd5998b8c7bdd896ab2e73389eb7f1885bb (patch) | |
tree | f423b5d4ad9188e98da98f413542e0373d48c1b9 | |
download | aur-69dd8bd5998b8c7bdd896ab2e73389eb7f1885bb.tar.gz |
initial upload
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 43 |
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ed5516793321 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = lib32-libpciaccess-git + pkgdesc = X11 PCI access library (32-bit + pkgver = 0.16 + pkgrel = 1 + url = https://xorg.freedesktop.org/ + arch = x86_64 + license = custom + makedepends = gcc-multilib + makedepends = pkgconfig + makedepends = xorg-util-macros + depends = lib32-glibc + depends = libpciaccess + provides = lib32-libpciaccess + conflicts = lib32-libpciaccess + source = git+https://gitlab.freedesktop.org/xorg/lib/libpciaccess + sha512sums = SKIP + +pkgname = lib32-libpciaccess-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..793cbfaeab04 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# Maintainer: Vincent Grande <shoober420@gmail.com> +# Contributor: Jan de Groot <jgc@archlinux.org> +# Contributor: Alexander Baldeck <alexander@archlinux.org> + +pkgname=lib32-libpciaccess-git +pkgver=0.16 +pkgrel=1 +pkgdesc="X11 PCI access library (32-bit" +arch=(x86_64) +license=('custom') +provides=('lib32-libpciaccess') +conflicts=('lib32-libpciaccess') +url="https://xorg.freedesktop.org/" +depends=('lib32-glibc' 'libpciaccess') +makedepends=('gcc-multilib' 'pkgconfig' 'xorg-util-macros') +source=(git+https://gitlab.freedesktop.org/xorg/lib/libpciaccess) +sha512sums=('SKIP') + +pkgver() { + cd libpciaccess + git describe --tags | sed 's/-/+/g' +} + +build() { + cd libpciaccess + + export CC="gcc -m32" + export CXX="g++ -m32" + export PKG_CONFIG_PATH="/usr/lib32/pkgconfig" + + ./configure --prefix=/usr --sysconfdir=/etc \ + --libdir=/usr/lib32 + make +} + +package() { + cd libpciaccess + make DESTDIR="${pkgdir}" install + + rm -rf "${pkgdir}"/usr/include + mkdir -p "$pkgdir/usr/share/licenses" + ln -s libpciaccess "$pkgdir/usr/share/licenses/$pkgname" +} |