summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e382fea8726
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
+
+pkgname=tar-libarchive
+pkgver=99
+pkgrel=1
+pkgdesc='Dummy package providing tar using libarchive’s implementation instead of GNU’s'
+arch=('any')
+depends=('libarchive')
+provides=('tar')
+conflicts=('tar')
+
+package() {
+ mkdir -p "$pkgdir/usr/bin"
+ ln -s bsdtar "$pkgdir/usr/bin/tar"
+
+ mkdir -p "$pkgdir/usr/share/man/man1"
+ ln -s bsdtar.1.gz "$pkgdir/usr/share/man/man1/tar.1.gz"
+}