summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorRX142019-11-07 11:24:10 +0000
committerRX142019-11-07 11:24:10 +0000
commit5026dec1ee9d154da2f5e7752d86d8da37f2f7ee (patch)
tree72f872c57ee168d858df66332911847766bdaa3d /PKGBUILD
downloadaur-jojodiff.tar.gz
0.8.1-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..bd71a51b23b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Stephanie Hobbs (RX14) <steph@rx14.co.uk>
+
+pkgname=jojodiff
+pkgver=0.8.1
+pkgrel=1
+pkgdesc="Diff utility for binary files"
+arch=("x86_64")
+url="http://jojodiff.sourceforge.net/"
+license=("GPL3")
+source=("https://downloads.sourceforge.net/project/jojodiff/jojodiff/jojodiff08/jdiff081.tgz")
+sha256sums=('8681e503c1d9658a89788d7e4c34c08adce5a0114610cfaaefa32f2bbe613058')
+
+prepare() {
+ cd jdiff081/src
+
+ sed -i '/#define ulong unsigned long int/ d' JDefs.h
+}
+
+build() {
+ cd jdiff081/src
+
+ make
+}
+
+package() {
+ cd jdiff081/src
+
+ install -m0755 -d "$pkgdir/usr/bin"
+ install -m0755 jdiff jptch "$pkgdir/usr/bin"
+}