summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authormaz-12015-10-27 23:04:22 +0800
committermaz-12015-10-27 23:04:22 +0800
commit9ec4fe5b99cadb69e0286630f92e84f068da1a58 (patch)
tree18cfedfcda2e5fbb1fc7da6a1625f032b1a21ea7 /PKGBUILD
downloadaur-9ec4fe5b99cadb69e0286630f92e84f068da1a58.tar.gz
init
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..af20a6103dc
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,46 @@
+# Maintainer: maz-1 <ohmygod19993 at gmail dot com>
+_pkgname=majonoie
+pkgname=${_pkgname}-en
+pkgver=1.07
+pkgrel=1
+pkgdesc="The game \"The Witch's House\" also known as \"Majo No Ie\". English ver."
+url='http://majonoie.karou.jp'
+arch=('any')
+license=('custom')
+depends=('mkxp-git' 'rpgvx-rtp')
+makedepends=('p7zip')
+source=("http://vgperson.com/games/TheWitchsHouse107.zip"
+ "LICENSE"
+ "mkxp.conf"
+ "${pkgname}.desktop"
+ "${pkgname}.png"
+ "${pkgname}.sh")
+md5sums=('c11fc643fc105ed925cbeaa2eff1c23d'
+ 'e1ee4d59be2f6200828470a1ebc7bcf7'
+ '461180ee21f3d882bfed9c4c3c3b24c8'
+ '58c8cf9cdf2a1cefd2fd0b198f22e95f'
+ 'dee931ca691fcdfcc937eedb30fe9d00'
+ 'd81ac9dea4008515d8ae636b725fa32f')
+noextract=TheWitchsHouse107.zip
+
+package() {
+
+ install -dm755 "$pkgdir/opt/$pkgname"
+ install -dm755 "$pkgdir/usr/"{bin,share/applications,share/pixmaps}
+ cd "$pkgdir/opt/$pkgname"
+ 7z x "$srcdir/TheWitchsHouse107.zip"
+ install -Dm644 "$srcdir/LICENSE" "$pkgdir/opt/$pkgname/LICENSE"
+ install -Dm644 "$srcdir/mkxp.conf" "$pkgdir/opt/$pkgname/mkxp.conf"
+ rm "$pkgdir/opt/$pkgname/PublicData.rvdata"
+
+ cd "$pkgdir/opt/$pkgname"
+ find . -type d -exec chmod 755 {} \;
+ find . -not -type d -exec chmod 644 {} \;
+ find . -type d | xargs chmod 755
+ find . -not -type d | xargs chmod 644
+
+ install -Dm755 "${srcdir}/${pkgname}.sh" "$pkgdir/usr/bin/$pkgname"
+ install -Dm755 "${srcdir}/${pkgname}.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm755 "${srcdir}/${pkgname}.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
+
+}