diff options
author | Chocobo1 | 2019-04-06 14:44:17 +0800 |
---|---|---|
committer | Chocobo1 | 2019-04-06 14:54:28 +0800 |
commit | 04970eb271189372e4fd558fa499e927445abf44 (patch) | |
tree | a402ace8a201e4dbfb0676d108b1e4c008f9d9ba | |
download | aur-04970eb271189372e4fd558fa499e927445abf44.tar.gz |
newpkg: libgpg-error-git 1.36.r2.g86cb22a-1
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 44 |
2 files changed, 62 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..8828fe61fd7b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = libgpg-error-git + pkgdesc = Error codes library used by GnuPG et al. + pkgver = 1.36.r2.g86cb22a + pkgrel = 1 + url = https://www.gnupg.org/software/libgpg-error/index.html + arch = i686 + arch = x86_64 + license = LGPL + makedepends = git + depends = glibc + depends = sh + provides = libgpg-error + conflicts = libgpg-error + source = git+https://dev.gnupg.org/source/libgpg-error.git + sha256sums = SKIP + +pkgname = libgpg-error-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..cc8a54393ef2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,44 @@ +# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> + +pkgname=libgpg-error-git +pkgver=1.36.r2.g86cb22a +pkgrel=1 +pkgdesc="Error codes library used by GnuPG et al." +arch=('i686' 'x86_64') +url="https://www.gnupg.org/software/libgpg-error/index.html" +license=('LGPL') +depends=('glibc' 'sh') +makedepends=('git') +provides=('libgpg-error') +conflicts=('libgpg-error') +source=("git+https://dev.gnupg.org/source/libgpg-error.git") +sha256sums=('SKIP') + + +pkgver() { + cd "libgpg-error" + + git describe --long --tags | sed 's/^gpgrt-//;s/\([^-]*-g\)/r\1/;s/-/./g' +} + +build() { + cd "libgpg-error" + + ./autogen.sh + ./configure \ + --enable-maintainer-mode \ + --prefix="/usr" + make +} + +check() { + cd "libgpg-error" + + make check +} + +package() { + cd "libgpg-error" + + make DESTDIR="$pkgdir" install +} |