summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurentTreguier2016-07-07 19:32:29 +0200
committerLaurentTreguier2016-07-07 19:32:29 +0200
commitf2516fd54550f504f841f1ca1c84deeb5a58af74 (patch)
tree8200a3575ed78c1b06e3a9e76e27fe6e809b7f63
downloadaur-f2516fd54550f504f841f1ca1c84deeb5a58af74.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD35
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..14d792a860f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Thu Jul 7 17:13:29 UTC 2016
+pkgbase = lzfse-git
+ pkgdesc = The LZFSE compression library and command line tool
+ pkgver = r20.4591228
+ pkgrel = 1
+ url = https://github.com/lzfse/lzfse
+ arch = x86_64
+ license = MIT
+ makedepends = git
+ provides = lzfse
+ source = git+https://github.com/lzfse/lzfse
+ sha1sums = SKIP
+
+pkgname = lzfse-git
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..aac967e4c70
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*.tar.xz
+pkg
+src
+.vscode
+lzfse \ No newline at end of file
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..030c1473a4c
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Laurent Tréguier <laurent@treguier.org>
+
+pkgname=lzfse-git
+pkgver=r20.4591228
+pkgrel=1
+pkgdesc="The LZFSE compression library and command line tool"
+arch=("x86_64")
+url="https://github.com/lzfse/lzfse"
+license=("BSD")
+depends=()
+makedepends=("git")
+optdepends=()
+provides=("lzfse")
+conficts=("lzfse")
+source=("git+https://github.com/lzfse/lzfse")
+sha1sums=("SKIP")
+_pkgname=lzfse
+
+pkgver() {
+ cd ${_pkgname}
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd ${_pkgname}
+ make
+}
+
+package() {
+ install -Dm755 ${srcdir}/${_pkgname}/build/bin/lzfse ${pkgdir}/usr/bin/lzfse
+ install -d ${pkgdir}/usr/lib
+ install -Dm644 ${srcdir}/${_pkgname}/build/bin/liblzfse.a ${pkgdir}/usr/lib/
+ install -d ${pkgdir}/usr/share/licenses/lzfse
+ install -Dm644 ${srcdir}/${_pkgname}/LICENSE ${pkgdir}/usr/share/licenses/lzfse/
+}