summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolly Becker2017-05-22 14:56:10 -0700
committerHolly Becker2017-05-22 14:56:10 -0700
commitd075efdfb4c32da7dd2081001392c074d1c99082 (patch)
tree61cd4b083e2bad27e0a8cdfeb24a81c410f237a1
downloadaur-d075efdfb4c32da7dd2081001392c074d1c99082.tar.gz
Fido: Add initial 1.3.5 PKGBUILD
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD25
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e269eda7c1c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = fido
+ pkgdesc = Command-line tool to identify the file formats of digital objects.
+ pkgver = 1.3.5_88
+ pkgrel = 1
+ url = http://openpreservation.org/technology/products/fido/
+ arch = any
+ license = Apache
+ depends = python2>=2.6
+ depends = python2-six>=1.10.0
+ depends = python2-six<=1.10.0
+ depends = python2-olefile>=0.4
+ depends = python2-olefile<1
+ provides = fido
+ options = !emptydirs
+ source = https://github.com/openpreserve/fido/archive/v1.3.5-88.tar.gz
+ md5sums = 0cc6ddf5dfc06b2d1b5861d3949a9e62
+
+pkgname = fido
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..30dfb945575
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Holly Becker <becker.holly@gmail.com>
+pkgname=fido
+pkgver=1.3.5_88
+pkgrel=1
+pkgdesc="Command-line tool to identify the file formats of digital objects."
+arch=('any')
+url="http://openpreservation.org/technology/products/fido/"
+license=('Apache')
+depends=(
+ 'python2>=2.6'
+ 'python2-six>=1.10.0'
+ 'python2-six<=1.10.0'
+ 'python2-olefile>=0.4'
+ 'python2-olefile<1')
+provides=('fido')
+options=(!emptydirs)
+source=("https://github.com/openpreserve/$pkgname/archive/v${pkgver//_/-}.tar.gz")
+md5sums=('0cc6ddf5dfc06b2d1b5861d3949a9e62')
+
+package() {
+ cd "$srcdir/$pkgname-${pkgver//_/-}"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+