summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikola Hadžić2019-05-24 21:03:21 +0200
committerNikola Hadžić2019-05-24 21:03:21 +0200
commit81b227f18b9e49a61d73fc322d0b5d4a18ba58a9 (patch)
tree19ac8077f1187b25ab946ec85ab6ac5b6349545d
downloadaur-81b227f18b9e49a61d73fc322d0b5d4a18ba58a9.tar.gz
Initial commit
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD34
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..59216e444e4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = marg
+ pkgdesc = Simple argument handling library
+ pkgver = 0.1
+ pkgrel = 1
+ url = https://gitlab.com/oktopod11/marg
+ arch = any
+ license = LGPL3
+ provides = marg
+ source = https://gitlab.com/oktopod11/marg/raw/master/archive/marg-0.1.tar.gz
+ sha256sums = 85771c5b15964513588aa0f6b8785168252197305fcab6dba5bfe9eb1ac5c77d
+
+pkgname = marg
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..41ce6ff86a8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Nikola Hadžić <nikola@firemail.cc>
+pkgname=marg
+pkgver=0.1
+pkgrel=1
+epoch=
+pkgdesc="Simple argument handling library"
+arch=("any")
+url="https://gitlab.com/oktopod11/marg"
+license=("LGPL3")
+groups=()
+depends=()
+makedepends=()
+checkdepends=()
+optdepends=()
+provides=("marg")
+conflicts=()
+replaces=()
+backup=()
+options=()
+source=("https://gitlab.com/oktopod11/$pkgname/raw/master/archive/$pkgname-$pkgver.tar.gz")
+noextract=()
+sha256sums=("85771c5b15964513588aa0f6b8785168252197305fcab6dba5bfe9eb1ac5c77d")
+
+prepare() {
+ tar -xvf "$pkgname-$pkgver.tar.gz"
+}
+
+package() {
+ mkdir -vp "$pkgdir/usr/include/"
+ mkdir -vp "$pkgdir/usr/share/man/man3/"
+ cp -rv "$srcdir/$pkgname/lib/" "$pkgdir/usr/include/marg/"
+ cp -v "$srcdir/$pkgname/marg.man" "$pkgdir/usr/share/man/man3/marg.3"
+ gzip -v "$pkgdir/usr/share/man/man3/marg.3"
+}