summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCel Skeggs2017-02-10 16:13:26 -0500
committerCel Skeggs2017-02-10 16:14:36 -0500
commitc659b2e061179ce4fd3ee17a276859b756e8cd14 (patch)
tree6c9c1180391b2a6a2bb8595661123bd113cb5fd7
downloadaur-c659b2e061179ce4fd3ee17a276859b756e8cd14.tar.gz
Add initial version of PKGBUILD for libsyscall
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD23
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..4d530b1ce48
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = libsyscall
+ pkgdesc = A library providing all of the assembly code needed for a C standard library
+ pkgver = 0.1.2
+ pkgrel = 1
+ url = https://github.com/celskeggs/libsyscall
+ arch = i686
+ arch = x86_64
+ license = MIT
+ source = https://github.com/celskeggs/libsyscall/archive/v0.1.2.tar.gz
+ sha256sums = 960f1b3b934201a8da5966213e645d5b8d17107dff4ca54df461c4ee25aff5fd
+
+pkgname = libsyscall
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7dd273834a5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Cel Skeggs <arch@celskeggs.com>
+pkgname=libsyscall
+pkgver=0.1.2
+pkgrel=1
+pkgdesc="A library providing all of the assembly code needed for a C standard library"
+arch=('i686' 'x86_64')
+url="https://github.com/celskeggs/libsyscall"
+license=('MIT')
+source=("https://github.com/celskeggs/libsyscall/archive/v$pkgver.tar.gz")
+sha256sums=('960f1b3b934201a8da5966213e645d5b8d17107dff4ca54df461c4ee25aff5fd')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
+ install -d $pkgdir/usr/share/licenses/libsyscall
+ install -m 644 LICENSE $pkgdir/usr/share/licenses/libsyscall/LICENSE
+}