summaryrefslogtreecommitdiff
path: root/pcr/unrar-emulator/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/unrar-emulator/PKGBUILD')
-rw-r--r--pcr/unrar-emulator/PKGBUILD17
1 files changed, 17 insertions, 0 deletions
diff --git a/pcr/unrar-emulator/PKGBUILD b/pcr/unrar-emulator/PKGBUILD
new file mode 100644
index 000000000..ed8e10f2f
--- /dev/null
+++ b/pcr/unrar-emulator/PKGBUILD
@@ -0,0 +1,17 @@
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+
+pkgname=unrar-emulator
+_pkgname="${pkgname/-emulator/}"
+pkgver=1.0
+pkgrel=1
+arch=('any')
+license=('AGPL3')
+desc="Script to emulate nonfree unrar"
+depends=('bash' 'libarchive' 'unar')
+url=('https://projects.parabola.nu/software-emulators.git')
+source=($url/plain/unrar-emulator/unrar.sh)
+sha512sums=('c3f015dc8a7a1ddb2a4e94c80ff6ec59f3da368b8d616c43765e60e6b01ecd168e8babe051a945901935a6ac7d4f1368d5240257bdfad024a5b3fa21109f6ef6')
+
+package() {
+ install -Dm 755 "${srcdir}"/unrar.sh "${pkgdir}"/usr/bin/unrar
+}