summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJesse Jaara2015-07-08 19:34:31 +0300
committerJesse Jaara2015-07-08 19:35:06 +0300
commit6c6c99f3284245c42fa9cbb24ff9bda3b13378e3 (patch)
treedd38d68e55194b2a6bb2c151e0e42a7de363f01a /PKGBUILD
downloadaur-6c6c99f3284245c42fa9cbb24ff9bda3b13378e3.tar.gz
Import trid to Aur4.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD46
1 files changed, 46 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a2f0ddf660b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: Jesse Jaara <gmail.com: jesse.jaara>
+# Contributor: p2k <uni-ulm.de: Patrick.Schneider>
+
+pkgname=trid
+pkgver=2.20
+pkgrel=2
+pkgdesc="An utility designed to identify file types from their binary signatures"
+arch=('i686' 'x86_64')
+url="http://mark0.net/soft-trid-e.html"
+license=('CUSTOM')
+depends=('ncurses' 'libtinfo' 'python2')
+
+source=(trid.sh
+ update-trid-defs.sh
+ update-trid-defs.service
+ update-trid-defs.timer
+ triupdate-1.00.zip::http://mark0.net/download/tridupdate.zip)
+md5sums=('9e4849a0d14bb4df970dcbc1159c4007'
+ '6ef06da62edde6c84c9473f7a62969e6'
+ 'a78caa24cf0851d17b8d3798f9e776a3'
+ '2ea012671b50e0761cbc4bbec820952e'
+ 'fd7e042a50ee1c93ed3147f5bff6d876')
+md5sums_i686=('07bab126d34993a1c725bf60d16e0829')
+md5sums_x86_64=('db0b1f4dfd0039c65e70ec559940cad7')
+
+source_i686=(trid-${pkgver}-i686.zip::http://mark0.net/download/trid_linux.zip)
+source_x86_64=(trid-${pkgver}-x86_64.zip::http://mark0.net/download/trid_linux_64.zip)
+
+package() {
+ cd "${srcdir}"
+
+ install -D -m755 trid "${pkgdir}/usr/bin/trid.bin"
+ install -D -m755 trid.sh "${pkgdir}/usr/bin/trid"
+ install -D -m755 tridupdate.py "${pkgdir}/usr/share/trid/tridupdate.py"
+ install -D -m644 readme.txt "${pkgdir}/usr/share/trid/README"
+
+ install -d 755 "${pkgdir}/usr/share/licenses/trid"
+ ln -s /usr/share/trid/ "${pkgdir}/usr/share/licenses/trid/LICENSE"
+
+ install -D -m755 update-trid-defs.sh "${pkgdir}/usr/bin/update-trid-defs"
+ install -D -m644 update-trid-defs.service "${pkgdir}/usr/lib/systemd/system/update-trid-defs.service"
+ install -D -m644 update-trid-defs.timer "${pkgdir}/usr/lib/systemd/system/update-trid-defs.timer"
+
+ install -d -m755 "${pkgdir}/var/lib/trid"
+}
+