diff options
author | Rod Kay | 2021-06-22 13:08:54 +1000 |
---|---|---|
committer | Rod Kay | 2021-06-22 13:11:13 +1000 |
commit | 5767b07c06655ded1b38c21ae03ac831e15d18c3 (patch) | |
tree | 5b7bc97618d0aa26eade1bc0db62464963376aba | |
parent | b5a6f1b206e7472033e34a0f61c015ceb409a8e8 (diff) | |
download | aur-5767b07c06655ded1b38c21ae03ac831e15d18c3.tar.gz |
Install gtkada.gpr to /usr/share/gpr where gprbuild can find it.
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | Makefile.in-patch | 11 | ||||
-rw-r--r-- | PKGBUILD | 14 |
3 files changed, 27 insertions, 6 deletions
@@ -1,17 +1,19 @@ pkgbase = gtkada pkgdesc = Ada bindings for the Gtk+ library. pkgver = 21.0.0 - pkgrel = 2 + pkgrel = 4 epoch = 1 url = https://github.com/AdaCore/gtkada arch = i686 arch = x86_64 - license = GPL + license = GPL3 + license = custom makedepends = gprbuild depends = gcc-ada depends = gtk3 source = gtkada-21.0.0.tar.gz::https://github.com/AdaCore/gtkada/archive/v21.0.0.tar.gz + source = Makefile.in-patch md5sums = f69c974e8067a651bd62a4f3fcc1b127 + md5sums = fbf1d0e9adf74b03e85fb2d698fe7b85 pkgname = gtkada - diff --git a/Makefile.in-patch b/Makefile.in-patch new file mode 100644 index 000000000000..dcfe95150db6 --- /dev/null +++ b/Makefile.in-patch @@ -0,0 +1,11 @@ +--- gtkada-21.0.0/Makefile.in 2020-10-08 00:48:44.000000000 +1100 ++++ gtkada-21.0.0/Makefile.in-new 2021-06-22 12:58:52.737613007 +1000 +@@ -26,7 +26,7 @@ + PROCESSORS = 0 + + # Location (under $prefix) where the project files should be copied +-PRJDIR=lib/gnat ++PRJDIR=share/gpr + + GPRBUILD_FULL = ${GPRBUILD} -j${PROCESSORS} -m -p ${GPRBUILD_SWITCHES} + GPRINSTALL_FULL = ${GPRINSTALL} -p -f --project-subdir=$(PRJDIR) \ @@ -4,7 +4,7 @@ pkgname=gtkada epoch=1 pkgver=21.0.0 -pkgrel=3 +pkgrel=4 pkgdesc='Ada bindings for the Gtk+ library.' url='https://github.com/AdaCore/gtkada' @@ -14,8 +14,16 @@ license=('GPL3' 'custom') depends=('gcc-ada' 'gtk3') makedepends=('gprbuild') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -md5sums=('f69c974e8067a651bd62a4f3fcc1b127') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz" + "Makefile.in-patch") +md5sums=('f69c974e8067a651bd62a4f3fcc1b127' + 'fbf1d0e9adf74b03e85fb2d698fe7b85') + +prepare() +{ + cd "$srcdir" + patch -Np0 -i Makefile.in-patch +} build() { |