summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12017-08-13 23:25:18 +0800
committerChocobo12017-08-14 00:11:07 +0800
commit70996f31cfafb9d1c42085bcfd06a769679359b9 (patch)
tree1efe8467b4c1165edd15c1eceea9820f1e39fd88
downloadaur-70996f31cfafb9d1c42085bcfd06a769679359b9.tar.gz
newpkg: libsigsegv-git 2.11.r1.g4154472-1
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD42
2 files changed, 59 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3e7ff16a875
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = libsigsegv-git
+ pkgdesc = A library for handling page faults in user mode
+ pkgver = 2.11.r1.g4154472
+ pkgrel = 1
+ url = https://www.gnu.org/software/libsigsegv/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ depends = glibc
+ provides = libsigsegv
+ conflicts = libsigsegv
+ source = git+https://git.savannah.gnu.org/git/libsigsegv.git
+ sha256sums = SKIP
+
+pkgname = libsigsegv-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b99dc24a651
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=libsigsegv-git
+pkgver=2.11.r1.g4154472
+pkgrel=1
+pkgdesc="A library for handling page faults in user mode"
+arch=('i686' 'x86_64')
+url="https://www.gnu.org/software/libsigsegv/"
+license=('GPL2')
+depends=('glibc')
+makedepends=('git')
+provides=('libsigsegv')
+conflicts=('libsigsegv')
+source=("git+https://git.savannah.gnu.org/git/libsigsegv.git")
+sha256sums=('SKIP')
+
+
+pkgver() {
+ cd "libsigsegv"
+
+ git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+build() {
+ cd "libsigsegv"
+
+ ./autogen.sh
+ ./configure --prefix="/usr" --enable-shared
+ make
+}
+
+check() {
+ cd "libsigsegv"
+
+ make check
+}
+
+package() {
+ cd "libsigsegv"
+
+ make DESTDIR="$pkgdir" install
+}