diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..a8ee75080a9a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> + +pkgname=lzturbo +pkgver=1.2 +pkgrel=1 +pkgdesc="High performance lz77 based compressor" +arch=('x86_64') +url="https://sites.google.com/site/powturbo/home" +license=('custom') +source=("https://sites.google.com/site/powturbo/downloads/lzturbo.7z") +sha256sums=('c5212cf0dcdbb35ebce5e3126fe8ec53bfd7618744a36b14ce08fb26bdb73d55') + + +prepare() { + cd "lzturbo" + + sed -n '/IF YOU DO NOT AGREE TO/,/*$/p' "README.md" > "LICENSE" +} + +package() { + cd "lzturbo" + + install -Dm755 "lzturbo_static" "$pkgdir/usr/bin/lzturbo" + install -Dm644 "README.md" -t "$pkgdir/usr/share/doc/lzturbo" + install -Dm644 "LICENSE" -t "$pkgdir/usr/share/licenses/lzturbo" +} |