summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Schlisio2017-09-29 14:41:30 +0200
committerGeorg Schlisio2017-09-29 14:41:30 +0200
commit6fc79a09c371984fccfbf4d909685c1fbdc5d800 (patch)
treeda37cd4fbbb2901ebd6c9bc4377a56f3685cb85d
downloadaur-6fc79a09c371984fccfbf4d909685c1fbdc5d800.tar.gz
1.1
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD16
2 files changed, 31 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..89bc3317036
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+# Generated by mksrcinfo v8
+# Fri Sep 29 12:41:18 UTC 2017
+pkgbase = privatebin
+ pkgver = 1.1
+ pkgrel = 1
+ url = privatebin.info
+ arch = any
+ license = zlib
+ depends = php
+ depends = php-gd
+ source = privatebin-1.1.tar.gz::https://github.com/PrivateBin/PrivateBin/archive/1.1.tar.gz
+ md5sums = 623be6c7f72f13d4269999941fed18d9
+
+pkgname = privatebin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..83d39275289
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,16 @@
+pkgname=privatebin
+pkgver=1.1
+pkgrel=1
+url='privatebin.info'
+arch=("any")
+license=("zlib")
+depends=("php" "php-gd")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/PrivateBin/PrivateBin/archive/$pkgver.tar.gz")
+md5sums=('623be6c7f72f13d4269999941fed18d9')
+
+package(){
+ cd PrivateBin-$pkgver
+ mkdir -p "$pkgdir/usr/share/webapps/$pkgname"
+ cp -R * "$pkgdir/usr/share/webapps/$pkgname"
+ install -Dm644 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}