diff options
author | LaurentTreguier | 2017-05-08 14:28:16 +0200 |
---|---|---|
committer | LaurentTreguier | 2017-05-08 14:28:16 +0200 |
commit | c48eccde03b25815c96aa74d1c90b64a96f206a0 (patch) | |
tree | 1e4811485b6852284395fc83a4eea157f628f792 | |
download | aur-c48eccde03b25815c96aa74d1c90b64a96f206a0.tar.gz |
1.0
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 5 | ||||
-rw-r--r-- | PKGBUILD | 30 |
3 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..83f7114a78a4 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +# Generated by mksrcinfo v8 +# Mon May 8 12:21:55 UTC 2017 +pkgbase = lzfse + pkgdesc = The LZFSE compression library and command line tool + pkgver = 1.0 + pkgrel = 1 + url = https://github.com/lzfse/lzfse + arch = i686 + arch = x86_64 + license = BSD + makedepends = git + provides = lzfse + source = https://github.com/lzfse/lzfse/archive/lzfse-1.0.tar.gz + md5sums = 53e89f88d9cb0f4cb9c3f366dfb239a9 + +pkgname = lzfse + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..63b128dfd7d6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +*.tar.gz +*.tar.xz +pkg +src +.vscode diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ded3883c62b2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Laurent Tréguier <laurent@treguier.org> + +pkgname=lzfse +pkgver=1.0 +pkgrel=1 +pkgdesc="The LZFSE compression library and command line tool" +arch=("i686" "x86_64") +url="https://github.com/lzfse/lzfse" +license=("BSD") +depends=() +makedepends=("git") +optdepends=() +provides=("lzfse") +conficts=("lzfse-git") +source=("https://github.com/lzfse/lzfse/archive/lzfse-${pkgver}.tar.gz") +md5sums=('53e89f88d9cb0f4cb9c3f366dfb239a9') + +build() { + cd ${srcdir}/${pkgname}-${pkgname}-${pkgver} + make +} + +package() { + install -Dm755 ${srcdir}/${pkgname}-${pkgname}-${pkgver}/build/bin/lzfse ${pkgdir}/usr/bin/lzfse + install -d ${pkgdir}/usr/{include,lib} + install -Dm644 ${srcdir}/${pkgname}-${pkgname}-${pkgver}/src/lzfse.h ${pkgdir}/usr/include/lzfse.h + install -Dm644 ${srcdir}/${pkgname}-${pkgname}-${pkgver}/build/bin/liblzfse.a ${pkgdir}/usr/lib/ + install -d ${pkgdir}/usr/share/licenses/lzfse + install -Dm644 ${srcdir}/${pkgname}-${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/lzfse/ +} |