diff options
author | Emmanuel Gil Peyrot | 2015-07-03 01:15:10 +0100 |
---|---|---|
committer | Emmanuel Gil Peyrot | 2015-07-03 01:20:52 +0100 |
commit | 38f15c69c2c0fbdf3a6b26398405bf3b270bd559 (patch) | |
tree | db669753562f567c7345295574559a866ca5ab73 | |
download | aur-38f15c69c2c0fbdf3a6b26398405bf3b270bd559.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 29 | ||||
-rw-r--r-- | PKGBUILD | 45 |
2 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..95ceeaddef51 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,29 @@ +pkgbase = gplugin-hg + pkgdesc = GObject based library that implements a reusable plugin system + pkgver = 993.307728b2f727 + pkgrel = 1 + url = https://guifications.org/ + arch = i686 + arch = x86_64 + arch = armv7h + license = GPL + makedepends = mercurial + makedepends = cmake + makedepends = gobject-introspection + makedepends = gtk3 + makedepends = python-gobject + makedepends = lua-lgi + makedepends = libxslt + makedepends = help2man + depends = glib2 + depends = gobject-introspection-runtime + optdepends = gtk3: for GTK+ support + optdepends = python-gobject: for Python support + optdepends = lua-lgi: for Lua support + provides = gplugin=0.0.23 + conflicts = gplugin + source = gplugin::hg+https://bitbucket.org/gplugin/main#branch=develop + sha256sums = SKIP + +pkgname = gplugin-hg + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..538894c1c350 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> + +_pkgbase=gplugin +pkgname="$_pkgbase-hg" +pkgver=993.307728b2f727 +pkgrel=1 +pkgdesc="GObject based library that implements a reusable plugin system" +arch=('i686' 'x86_64' 'armv7h') +url="https://guifications.org/" +license=('GPL') +depends=('glib2' 'gobject-introspection-runtime') +makedepends=('mercurial' 'cmake' 'gobject-introspection' 'gtk3' + 'python-gobject' 'lua-lgi' 'libxslt' 'help2man') +optdepends=('gtk3: for GTK+ support' + 'python-gobject: for Python support' + 'lua-lgi: for Lua support') +provides=("$_pkgbase=0.0.23") +conflicts=("$_pkgbase") +source=("$_pkgbase::hg+https://bitbucket.org/gplugin/main#branch=develop") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/$_pkgbase" + + hg identify -ni | awk 'BEGIN{OFS=".";} {print $2,$1}' +} + +prepare() { + mkdir -p "$srcdir/$_pkgbase/build" + cd "$srcdir/$_pkgbase/build" + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_LIBDIR=lib +} + +build() { + cd "$srcdir/$_pkgbase/build" + make +} + +package() { + cd "$srcdir/$_pkgbase/build" + make DESTDIR="$pkgdir/" install +} |