diff options
author | Peter Mattern | 2016-05-02 18:30:50 +0200 |
---|---|---|
committer | Peter Mattern | 2016-05-02 18:30:50 +0200 |
commit | 54d9edcf60f70d9b8e295b0add380aa3f7b9236c (patch) | |
tree | 97125f9f1e615c488140fad134d8944b3727f632 | |
download | aur-54d9edcf60f70d9b8e295b0add380aa3f7b9236c.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 22 | ||||
-rw-r--r-- | PKGBUILD | 33 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c4b56b8ec63e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,22 @@ +# Generated by mksrcinfo v8 +# Mon May 2 07:48:34 UTC 2016 +pkgbase = proj-configure-git + pkgdesc = Cartographic Projections Library + pkgver = 4.9.0.247.g1384b97 + pkgrel = 1 + url = https://github.com/OSGeo/proj.4 + arch = i686 + arch = x86_64 + license = MIT + makedepends = git + provides = proj + provides = proj.4 + provides = proj-git + conflicts = proj + conflicts = proj.4 + conflicts = proj-git + source = proj::git+https://github.com/OSGeo/proj.4.git + sha256sums = SKIP + +pkgname = proj-configure-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d8ad86451c9e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer: Peter Mattern <pmattern at arcor dot de> + +_pkgname=proj +pkgname=$_pkgname-configure-git +pkgver=4.9.0.247.g1384b97 +pkgrel=1 +pkgdesc='Cartographic Projections Library' +arch=('i686' 'x86_64') +url='https://github.com/OSGeo/proj.4' +license=('MIT') +makedepends=('git') +provides=("$_pkgname" "$_pkgname.4" "$_pkgname-git") +conflicts=("$_pkgname" "$_pkgname.4" "$_pkgname-git") +source=("$_pkgname::git+https://github.com/OSGeo/proj.4.git") +sha256sums=("SKIP") + +pkgver() { + cd $_pkgname + git describe | sed 's:-:.:g' +} + +build() { + cd $_pkgname + ./autogen.sh + ./configure --prefix=/usr + make +} + +package() { + cd $_pkgname + make DESTDIR="$pkgdir" install + install -D -m644 $srcdir/$_pkgname/COPYING $pkgdir/usr/share/licenses/$pkgname/LICENSE +} |