summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristian Hesse2015-06-29 09:19:43 +0200
committerChristian Hesse2015-06-29 09:19:43 +0200
commit12c494fc9bfbbf2f5dccf7c654be6936bf2c938e (patch)
treebc05e71b19d555c97b2781a78f40ea907e166dae /PKGBUILD
downloadaur-12c494fc9bfbbf2f5dccf7c654be6936bf2c938e.tar.gz
initial import of afio 2.5.1-3
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..06aa61863a4e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Christian Hesse <mail@eworm.de>
+# Contributor: sebikul <sebikul@gmail.com>
+# Contributor: Gergely Tamas <dice@mfa.kfki.hu>
+
+pkgname=afio
+pkgver=2.5.1
+pkgrel=3
+pkgdesc='Archiver & backup program with builtin compression'
+url=('http://members.chello.nl/~k.holtman/afio.html')
+arch=('i686' 'x86_64')
+license=('custom')
+source=("http://members.chello.nl/~k.holtman/${pkgname}-${pkgver}.tgz"
+ 'LICENSE')
+
+build() {
+ cd ${pkgname}-${pkgver}/
+
+ make
+}
+
+package() {
+ cd ${pkgname}-${pkgver}/
+
+ install -D -m0755 afio "${pkgdir}/usr/bin/afio"
+
+ install -D -m0644 afio.1 "${pkgdir}/usr/share/man/man1/afio.1"
+
+ # installing LICENSE
+ # note that there is some discussion[1] about the state of this LICENSE
+ # [1] https://bugzilla.redhat.com/show_bug.cgi?id=449037
+ install -D -m0644 ${srcdir}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+sha256sums=('363457a5d6ee422d9b704ef56d26369ca5ee671d7209cfe799cab6e30bf2b99a'
+ 'd34be83fc92406bd5b3a8d3ac17b47e77d2795a1d833ce9ee0b33a17de21abfa')