diff options
author | Chocobo1 | 2019-05-11 15:33:05 +0800 |
---|---|---|
committer | Chocobo1 | 2019-05-11 15:58:20 +0800 |
commit | 280d4188acd8102c315eaa2d3756dd0468ed3652 (patch) | |
tree | cdaeabcf96908ae4a9619594683c3c674c5c47cd | |
download | aur-280d4188acd8102c315eaa2d3756dd0468ed3652.tar.gz |
newpkg: lzturbo 1.2-1
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..641a6dd905c7 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,12 @@ +pkgbase = lzturbo + pkgdesc = High performance lz77 based compressor + pkgver = 1.2 + pkgrel = 1 + url = https://sites.google.com/site/powturbo/home + arch = x86_64 + license = custom + source = https://sites.google.com/site/powturbo/downloads/lzturbo.7z + sha256sums = c5212cf0dcdbb35ebce5e3126fe8ec53bfd7618744a36b14ce08fb26bdb73d55 + +pkgname = lzturbo + 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" +} |