diff options
author | charlie5 | 2015-07-26 14:45:41 +1000 |
---|---|---|
committer | charlie5 | 2015-07-26 14:45:41 +1000 |
commit | e5bb9fc1d63a82243dd0cc31254e76ab8b35ad22 (patch) | |
tree | ef6bcecd93692c5e69c2ea2bfb2ba58df80bca4c | |
download | aur-e5bb9fc1d63a82243dd0cc31254e76ab8b35ad22.tar.gz |
Initial import.
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 62 | ||||
-rw-r--r-- | fixfloristdir.patch | 12 | ||||
-rw-r--r-- | fixlibdir.patch | 11 |
4 files changed, 103 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000000..c868786f9cb --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = florist + pkgdesc = An open-source implementation of IEEE Standard 1003.5b-1996, the POSIX Ada binding. + pkgver = 2015 + pkgrel = 1 + url = http://sourceforge.net/projects/gnat-florist/ + arch = any + license = GPL3 + depends = gcc-ada + options = staticlibs + source = http://downloads.dragonlace.net/src/florist-gpl-2015-src.tar.gz + source = fixlibdir.patch + source = fixfloristdir.patch + md5sums = c2efa1aa21cfd5c64cc55306f0c53210 + md5sums = 1934106ceeb63ef23c50a5ed38b9b8a2 + md5sums = 0c9ef7e75ef15784a6ed8a7b9ee46251 + +pkgname = florist + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000000..c5ab31409cf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,62 @@ +# Contributor: Sietse van der Molen <sietse@vdmolen.eu> +# Contributor: Rod Kay <charlie5 on #ada at freenode.net> + +pkgname=florist +pkgver=2015 +pkgrel=1 +pkgdesc="An open-source implementation of IEEE Standard 1003.5b-1996, the POSIX Ada binding." + +arch=('any') +url="http://sourceforge.net/projects/gnat-florist/" +license=('GPL3') + +groups=() + +depends=('gcc-ada') +makedepends=() +optdepends=() + +provides=() +conflicts=() +replaces=() +backup=() + +options=(staticlibs) + +noextract=() +install= +changelog= + +source=(http://downloads.dragonlace.net/src/$pkgname-gpl-$pkgver-src.tar.gz + 'fixlibdir.patch' + 'fixfloristdir.patch') + +md5sums=('f46a866308b32c7efcee47230b238d4e' + '1934106ceeb63ef23c50a5ed38b9b8a2' + '0c9ef7e75ef15784a6ed8a7b9ee46251') + + + +build() +{ + cd "$srcdir/$pkgname-gpl-$pkgver-src" + + ./configure --prefix=$pkgdir/usr + + # florist uses weird standard for their directories, lets make it more arch-like + #patch -p0 -i $srcdir/fixlibdir.patch + + make -j7 + + # Because we changed the directory earlier and it's hardcoded in the lib, fix that + #patch -p0 -R -i $srcdir/fixfloristdir.patch +} + + + +package() +{ + cd "$srcdir/$pkgname-gpl-$pkgver-src" + + make DESTDIR="$pkgdir/" install +} diff --git a/fixfloristdir.patch b/fixfloristdir.patch new file mode 100644 index 00000000000..35f0d5aa295 --- /dev/null +++ b/fixfloristdir.patch @@ -0,0 +1,12 @@ +--- florist.gpr 2013-02-19 10:52:20.108656729 +0200 ++++ florist.gpr.orig 2013-02-19 10:52:15.558655756 +0200 +@@ -1,7 +1,7 @@ + project Florist is + +- for Source_Dirs use ("../floristlib"); +- for Object_Dir use "../floristlib"; ++ for Source_Dirs use ("../../floristlib"); ++ for Object_Dir use "../../floristlib"; + + for Externally_Built use "True"; + diff --git a/fixlibdir.patch b/fixlibdir.patch new file mode 100644 index 00000000000..ffb59403ea3 --- /dev/null +++ b/fixlibdir.patch @@ -0,0 +1,11 @@ +--- Makefile.orig 2013-02-19 10:33:23.021737881 +0200 ++++ Makefile 2013-02-19 10:45:43.651897946 +0200 +@@ -188,7 +188,7 @@ + # install floristlib + install: + mkdir -p $(PREFIX)/lib/gnat +- cp -pr floristlib $(PREFIX)/floristlib ++ cp -pr floristlib $(PREFIX)/lib/ + cp -p florist.gpr $(PREFIX)/lib/gnat + + .PHONY: install clean distclean regen |