summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChocobo12017-06-19 12:32:22 +0800
committerChocobo12017-06-19 12:36:41 +0800
commit0cf03529967f5ae336af38ed83c712a40d04dca0 (patch)
tree60d5c1f0c9b0d0e7f659e02246f7454626d3b50f
downloadaur-0cf03529967f5ae336af38ed83c712a40d04dca0.tar.gz
newpkg: lizard 1.0-1
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD32
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..de1f11cecfc
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = lizard
+ pkgdesc = An efficient compressor with very fast decompression
+ pkgver = 1.0
+ pkgrel = 1
+ url = https://github.com/inikep/lizard
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ license = BSD
+ depends = glibc
+ source = lizard-1.0-src.tar.gz::https://github.com/inikep/lizard/archive/v1.0.tar.gz
+ sha256sums = 6f666ed699fc15dc7fdaabfaa55787b40ac251681b50c0d8df017c671a9457e6
+
+pkgname = lizard
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3529c3e1a88
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net>
+
+pkgname=lizard
+pkgver=1.0
+pkgrel=1
+pkgdesc="An efficient compressor with very fast decompression"
+arch=('i686' 'x86_64')
+url="https://github.com/inikep/lizard"
+license=('GPL2' 'BSD')
+depends=('glibc')
+source=("$pkgname-$pkgver-src.tar.gz::https://github.com/inikep/$pkgname/archive/v$pkgver.tar.gz")
+sha256sums=('6f666ed699fc15dc7fdaabfaa55787b40ac251681b50c0d8df017c671a9457e6')
+
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ make
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+
+ #make test
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+
+ make PREFIX="/usr" DESTDIR="$pkgdir" install
+ install -Dm644 "lib/LICENSE" "$pkgdir/usr/share/licenses/lizard/LICENSE"
+}