summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaarten de Vries2019-02-02 13:28:55 +0100
committerMaarten de Vries2019-02-02 13:28:55 +0100
commitadad64e2cc9204223e3524aeae143e072fa3e965 (patch)
tree67e68e4fd6ac4327cb41e276488ffdef847e74a1
downloadaur-adad64e2cc9204223e3524aeae143e072fa3e965.tar.gz
Version 0.1.0
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD28
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9793d1e15b4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = curl-inject-opt
+ pkgdesc = run a command with modified CURL options
+ pkgver = 0.1.0
+ pkgrel = 1
+ arch = x86_64
+ arch = i686
+ license = BSD
+ source = curl-inject-opt-0.1.0.tar.gz::https://github.com/de-vri-es/curl-inject-opt/archive/0.1.0.tar.gz
+ sha512sums = 29e6feacbd73b807c91f01f8d64d904f14c4e3161f15d6ae732c5eecc5deaf46f7179d53ab5f9a8611d060a55a269672d581ab19e9d42e571cc9d87ade86dd96
+
+pkgname = curl-inject-opt
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2ec07e0c06e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Maarten de Vries <maarten@de-vri.es>
+
+pkgname=curl-inject-opt
+pkgver=0.1.0
+pkgrel=1
+pkgdesc="run a command with modified CURL options"
+license=(BSD)
+arch=(x86_64 i686)
+
+source=("$pkgname-$pkgver.tar.gz::https://github.com/de-vri-es/curl-inject-opt/archive/$pkgver.tar.gz")
+sha512sums=('29e6feacbd73b807c91f01f8d64d904f14c4e3161f15d6ae732c5eecc5deaf46f7179d53ab5f9a8611d060a55a269672d581ab19e9d42e571cc9d87ade86dd96')
+
+prepare() {
+ mkdir "$srcdir/build"
+ cd "$srcdir/build"
+ "../$pkgname-$pkgver/configure" PREFIX="/usr"
+}
+
+build() {
+ cd "$srcdir/build"
+ make
+}
+
+package() {
+ cd "$srcdir/build"
+ make install DESTDIR="$pkgdir"
+ install -m 664 -D "$srcdir/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}