summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDennis Holierhoek2016-01-01 15:26:49 +0100
committerDennis Holierhoek2016-01-01 15:26:49 +0100
commit5e57c14c9062a724b30e1e154f286172b57edaaf (patch)
treeceabb499583804fee1e18bb6596bb6d2ec6eb851
downloadaur-5e57c14c9062a724b30e1e154f286172b57edaaf.tar.gz
Initial report
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD32
2 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..db2c8b22603
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+# Generated by mksrcinfo v8
+# Fri Jan 1 14:26:24 UTC 2016
+pkgbase = esrpatch
+ pkgdesc = A tool to patch Sony PlayStation 2 DVD disc images to make them burnable and working with ESR, a homebrew app for the Sony PlayStation 2 made to play those burned discs
+ pkgver = 02
+ pkgrel = 1
+ url = http://psx-scene.com/forums/f164/esr-public-beta-58441/
+ arch = any
+ license = GPL
+ makedepends = w3m
+
+pkgname = esrpatch
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a6f15b43db0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Megameneer (Dennis Holierhoek) <dennis.hh@hotmail.com>
+pkgname=esrpatch
+pkgver=02
+pkgrel=1
+pkgdesc="A tool to patch Sony PlayStation 2 DVD disc images to make them burnable and working with ESR, a homebrew app for the Sony PlayStation 2 made to play those burned discs"
+arch=('any')
+url=http://psx-scene.com/forums/f164/esr-public-beta-58441/
+license=('GPL')
+depends=()
+makedepends=('w3m')
+source=()
+
+prepare() {
+ # A dirty hack to download the package; using W3m to dump the data at the download URL instead of using the usual PKGBUILD way due to 403 (forbidden) errors when done so.
+ cd "$srcdir"
+ w3m -dump_source http://psx-scene.com/forums/attachments/f164/14193d1214904456-esr-public-beta-esrpatch-02.tar.gz > esrpatch-"$pkgver".tar.gz
+ if [ $(md5sum esrpatch-02.tar.gz | head -c 32) = "bc6ec554c5cbe33cab6502b50c404a58" ];
+ then if [ $(sha256sum esrpatch-02.tar.gz | head -c 64) = "9cddd307b2a0ca5f048797c94309700d1dcbf3cfc570e5fab60e5ae6c798ad9f" ];
+ then tar xzvf esrpatch-"$pkgver".tar.gz;
+ fi;
+ fi
+}
+
+build() {
+ cd esrpatch
+ gcc main.c -o esrpatch
+}
+
+package() {
+ cd "$srcdir"/esrpatch
+ install -D esrpatch "$pkgdir"/usr/bin/esrpatch
+}