summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD9
-rw-r--r--ygopro-bin.install3
3 files changed, 9 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 33d16fa787b..98a3f789499 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
# Generated by mksrcinfo v8
-# Tue May 10 01:35:58 UTC 2016
+# Tue May 10 01:48:04 UTC 2016
pkgbase = ygopro-bin
pkgdesc = YGOPRO is a free online dueling system made for playing Yu-Gi-Oh! duels.
pkgver = 1.033.7
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/cromerc/ygopro
+ install = ygopro-bin.install
arch = i686
arch = x86_64
license = GPL2
diff --git a/PKGBUILD b/PKGBUILD
index 23f3da92df1..e8d399b49cc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ygopro-bin
pkgver=1.033.7
-pkgrel=1
+pkgrel=2
_pkgrel=2
pkgdesc="YGOPRO is a free online dueling system made for playing Yu-Gi-Oh! duels."
arch=('i686' 'x86_64')
@@ -13,6 +13,7 @@ backup=(opt/ygopro/system.conf)
source=("https://github.com/cromerc/ygopro/archive/${pkgver}-${_pkgrel}.tar.gz")
sha256sums=('003226eccdfbfe4855c17b303eb2fc8ac84d8dffe1fefd36110c941744e846de')
options=('!strip' 'emptydirs')
+install=${pkgname}.install
package() {
cd "${srcdir}/ygopro-${pkgver}-${_pkgrel}"
@@ -28,8 +29,4 @@ package() {
mkdir -pv "$pkgdir/usr/lib"
cd "$pkgdir/usr/lib"
ln -s liblua5.2.so liblua5.2.so.0
-}
-
-post_remove() {
- rm -R /opt/ygopro
-}
+} \ No newline at end of file
diff --git a/ygopro-bin.install b/ygopro-bin.install
new file mode 100644
index 00000000000..5249e4729d6
--- /dev/null
+++ b/ygopro-bin.install
@@ -0,0 +1,3 @@
+post_remove() {
+ rm -R /opt/ygopro
+}