diff options
author | nezbedniklmao@gmail.com | 2021-08-01 15:24:37 +0200 |
---|---|---|
committer | nezbedniklmao@gmail.com | 2021-08-01 15:24:37 +0200 |
commit | 82971e3b2349f352f59653b708c9bd298f0d7df0 (patch) | |
tree | 73b18e5f35dc1f530959e8f1faa69d87a2e20e08 | |
download | aur-82971e3b2349f352f59653b708c9bd298f0d7df0.tar.gz |
first commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 39 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ff1bf4b3f864 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = unrar-libre + pkgdesc = Free software RAR archive extractor compatible with proprietary WinRAR CLI + pkgver = 0.0.1 + pkgrel = 1 + url = https://github.com/abelianring/unrar-libre + arch = any + license = custom + makedepends = go + provides = unrar + conflicts = unrar + source = https://github.com/abelianring/unrar-libre/archive/0ae0ae481fb72d21f1f579ada1b808ab126b5cd4.zip + sha256sums = 2cca3cdf5c4a0247e894fe1cdd75abcf8054cabc3425c7206e22c922ed2a2586 + +pkgname = unrar-libre diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e12aab770077 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: nezbednik <nezbedniklmao at gmail dot com> + +pkgname="unrar-libre" +pkgver="0.0.1" +pkgrel="1" +pkgdesc="Free software RAR archive extractor compatible with proprietary WinRAR CLI" +arch=("any") +url="https://github.com/abelianring/unrar-libre" +license=("custom") +makedepends=("go") +provides=("unrar") +conflicts=("unrar") +_commit="0ae0ae481fb72d21f1f579ada1b808ab126b5cd4" +_path="/unrar-libre-${_commit}/cmd/unrar" +source=("https://github.com/abelianring/unrar-libre/archive/${_commit}.zip") +sha256sums=("2cca3cdf5c4a0247e894fe1cdd75abcf8054cabc3425c7206e22c922ed2a2586") + +build() { + cd ${srcdir}${_path} + go build -ldflags "-s" main.go +} + +package() { + install --mode 775 -D ${srcdir}${_path}/main ${pkgdir}/usr/bin/unrar +} |