diff options
author | Behnam Momeni | 2020-01-31 17:38:39 +0330 |
---|---|---|
committer | Behnam Momeni | 2020-01-31 17:38:39 +0330 |
commit | d20a1007f811e9b20b9caf881603493395e60036 (patch) | |
tree | b6e28a935fc40caa2744de4550ef9d8512ea1f7b | |
download | aur-d20a1007f811e9b20b9caf881603493395e60036.tar.gz |
Initial commit; version 0.12.0
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 32 | ||||
-rwxr-xr-x | pkgconf32 | 2 | ||||
-rw-r--r-- | x86-linux-gnu | 18 |
5 files changed, 82 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..d1f95f38504e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +# Generated by mksrcinfo v8 +# Fri Jan 31 14:05:24 UTC 2020 +pkgbase = lib32-libgexiv2 + pkgdesc = GObject-based wrapper around the Exiv2 library (32-bit) + pkgver = 0.12.0 + pkgrel = 1 + url = https://wiki.gnome.org/Projects/gexiv2 + arch = x86_64 + license = GPL2 + makedepends = gobject-introspection + makedepends = meson + makedepends = python-gobject + makedepends = python2-gobject + makedepends = vala + depends = lib32-exiv2 + depends = lib32-glib2 + depends = libgexiv2 + source = https://gitlab.gnome.org/GNOME/gexiv2/-/archive/gexiv2-0.12.0/gexiv2-gexiv2-0.12.0.tar.gz + source = x86-linux-gnu + source = pkgconf32 + sha512sums = 47fce52c4f6943eb282e7b9d2660ec7eeacb15a0fcedd12e1eca2354b1809178c8b672720f83f95f0983328b5c7db00e940811dc580261ca1316e96996ce9a81 + sha512sums = c90a2e8d8753d4474afbaa5f1def579b4fe9580904b25125e2f942fa722a6ed54340e467d2ddf60ab9d3aeeeb93f5f740502cafe9a1f52d55da3bd78baa3b5c5 + sha512sums = f21dd90f4f9caf67854f68baddbfbfecda295cb53f0444a1c0bfb98246390ae5d48ba5a0892fecf8a7faa937ef88884743a8e4282ca98d54c0da80c5457ef066 + +pkgname = lib32-libgexiv2 + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..4b474fb6e977 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +gexiv2-*.tar.gz +lib32-libgexiv2-*.pkg.tar.xz +src/ +pkg/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..427e3d6bfd4b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Behnam Momeni <sbmomeni [at the] gmail [dot] com> +# Contributor: Alexander F. Rødseth <xyproto@archlinux.org> +# Contributor: Ionut Biru <ibiru@archlinux.org> + +pkgname=lib32-libgexiv2 +_pkgbase=gexiv2 +pkgver=0.12.0 +pkgrel=1 +pkgdesc="GObject-based wrapper around the Exiv2 library (32-bit)" +url="https://wiki.gnome.org/Projects/gexiv2" +arch=('x86_64') +license=('GPL2') +depends=('lib32-exiv2' 'lib32-glib2' 'libgexiv2') +makedepends=('gobject-introspection' 'meson' 'python-gobject' 'python2-gobject' 'vala') +source=("https://gitlab.gnome.org/GNOME/${_pkgbase}/-/archive/${_pkgbase}-${pkgver}/${_pkgbase}-${_pkgbase}-${pkgver}.tar.gz" + "x86-linux-gnu" + "pkgconf32") +sha512sums=('47fce52c4f6943eb282e7b9d2660ec7eeacb15a0fcedd12e1eca2354b1809178c8b672720f83f95f0983328b5c7db00e940811dc580261ca1316e96996ce9a81' + 'c90a2e8d8753d4474afbaa5f1def579b4fe9580904b25125e2f942fa722a6ed54340e467d2ddf60ab9d3aeeeb93f5f740502cafe9a1f52d55da3bd78baa3b5c5' + 'f21dd90f4f9caf67854f68baddbfbfecda295cb53f0444a1c0bfb98246390ae5d48ba5a0892fecf8a7faa937ef88884743a8e4282ca98d54c0da80c5457ef066') + +build() { + mkdir -p "build" + arch-meson "${_pkgbase}-${_pkgbase}-${pkgver}" "build" --cross-file x86-linux-gnu --libdir=/usr/lib32 + ninja -C "build" +} + +package() { + DESTDIR="$pkgdir" ninja -C "build" install + rm -r "$pkgdir/usr/"{share,include,lib} +} + diff --git a/pkgconf32 b/pkgconf32 new file mode 100755 index 000000000000..3cfde433e110 --- /dev/null +++ b/pkgconf32 @@ -0,0 +1,2 @@ +#!/usr/bin/bash +PKG_CONFIG_LIBDIR='/usr/lib32/pkgconfig' /usr/bin/pkgconf $@ diff --git a/x86-linux-gnu b/x86-linux-gnu new file mode 100644 index 000000000000..b07adf2fe607 --- /dev/null +++ b/x86-linux-gnu @@ -0,0 +1,18 @@ +[binaries] +c = '/usr/bin/gcc' +cpp = '/usr/bin/g++' +ar = '/usr/bin/gcc-ar' +strip = '/usr/bin/strip' +pkgconfig = './pkgconf32' + +[properties] +c_args = ['-m32'] +c_link_args = ['-m32'] +cpp_args = ['-m32'] +cpp_link_args = ['-m32'] + +[host_machine] +system = 'linux' +cpu_family = 'x86' +cpu = 'i686' +endian = 'little' |