diff options
author | Patrick Grififis | 2015-06-28 19:56:02 -0400 |
---|---|---|
committer | Patrick Grififis | 2015-06-28 19:56:02 -0400 |
commit | c86a83b7131bd8da7a542b91395f1f6d521a02c8 (patch) | |
tree | b26516bbb0321ccb0375b6b72ce321d08dab08b3 | |
download | aur-c86a83b7131bd8da7a542b91395f1f6d521a02c8.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 26 | ||||
-rw-r--r-- | PKGBUILD | 42 | ||||
-rw-r--r-- | libpeas.install | 11 |
3 files changed, 79 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cc7acd2368f2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = libpeas-luajit + pkgdesc = A GObject-based plugins engine + pkgver = 1.15.0 + pkgrel = 1 + url = http://www.gtk.org/ + install = libpeas.install + arch = i686 + arch = x86_64 + license = GPL2 + makedepends = gtk-doc + makedepends = intltool + makedepends = luajit-lgi + makedepends = python-gobject + makedepends = python2-gobject + makedepends = glade + makedepends = gobject-introspection + depends = gtk3 + depends = hicolor-icon-theme + depends = gobject-introspection-runtime + provides = libpeas + conflicts = libpeas + source = http://download.gnome.org/sources/libpeas/1.15/libpeas-1.15.0.tar.xz + sha256sums = 5690c99cce35fa972a93b20d061bf2384017072d939c95ab50bdf2b72be41e1c + +pkgname = libpeas-luajit + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..3f771ccd274f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,42 @@ +# Contributor: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> +# Maintainer: TingPing <tingping@tingping.se> + +_basename=libpeas +pkgname=libpeas-luajit +pkgver=1.15.0 +pkgrel=1 +pkgdesc="A GObject-based plugins engine" +arch=(i686 x86_64) +url="http://www.gtk.org/" +provides=libpeas +conflicts=libpeas +license=(GPL2) +depends=(gtk3 hicolor-icon-theme gobject-introspection-runtime) +makedepends=(gtk-doc intltool luajit-lgi python-gobject python2-gobject glade gobject-introspection) +install=libpeas.install +source=(http://download.gnome.org/sources/$_basename/${pkgver:0:4}/$_basename-${pkgver}.tar.xz) +sha256sums=('5690c99cce35fa972a93b20d061bf2384017072d939c95ab50bdf2b72be41e1c') + + +build() { + cd $_basename-$pkgver + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-luajit + + # https://bugzilla.gnome.org/show_bug.cgi?id=655517 + sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool + + make +} + +check() { + cd $_basename-$pkgver + # Pygobject 3.15.x Throws deprecation message to stderr which causes failed test suite. Works fine with 3.14.x + make check || return 0 +} + +package() { + cd $_basename-$pkgver + make DESTDIR="${pkgdir}" install +} + +# vim:set ts=2 sw=2 et: diff --git a/libpeas.install b/libpeas.install new file mode 100644 index 000000000000..1a05f573e594 --- /dev/null +++ b/libpeas.install @@ -0,0 +1,11 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |