blob: 7f9569dad91274b6c4db96003a474dd44ce189cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=libsigsegv-git
pkgver=2.14.r12.g110f9fc
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=$pkgver")
conflicts=('libsigsegv')
options=('staticlibs')
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
}
|