summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsL1pKn072018-06-30 04:32:17 +0200
committersL1pKn072018-06-30 04:32:17 +0200
commite1c1a149b3df87074eea74a43a52b93fecd2d552 (patch)
tree4b45663d09471a988c7fb3c6329325fed0a3781f
parent87549b53911b22f5c4fc943038722d0235cd0757 (diff)
downloadaur-e1c1a149b3df87074eea74a43a52b93fecd2d552.tar.gz
enable ia32
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD29
2 files changed, 21 insertions, 16 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 140a076dd4b..d561d71a9a8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Jul 5 22:17:36 UTC 2016
+# Sat Jun 30 02:32:07 UTC 2018
pkgbase = xnp2
pkgdesc = X Neko Project II, a PC-9801 emulator
pkgver = 0.86
- pkgrel = 1
+ pkgrel = 2
url = http://www.nonakap.org/np2
arch = i686
arch = x86_64
@@ -12,8 +12,8 @@ pkgbase = xnp2
depends = sdl2_mixer
source = http://www.nonakap.org/np2/release/xnp2-0.86.tar.bz2
source = patch.patch
- sha1sums = 02ade03afe672cc18068e75374eecc26ec53e32e
- sha1sums = f0056b23ae5fdc2b435f16a4879e495c45807375
+ sha256sums = e0b8c93f54682a4b3373907fd9ffe78094f95f7430dffc5038eccbcc4c3f78fd
+ sha256sums = 03547eda251aa8678abcfb0f3780bec02deb16f3d326ac3cabaccd2d8fef7746
pkgname = xnp2
diff --git a/PKGBUILD b/PKGBUILD
index ecd5b68d9b5..30a7df7003f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
pkgname=xnp2
pkgver=0.86
-pkgrel=1
+pkgrel=2
pkgdesc="X Neko Project II, a PC-9801 emulator"
arch=('i686' 'x86_64')
url='http://www.nonakap.org/np2'
@@ -13,24 +13,29 @@ depends=('gtk2'
'sdl2_mixer'
)
source=("http://www.nonakap.org/np2/release/xnp2-${pkgver}.tar.bz2"
- 'patch.patch')
-sha1sums=('02ade03afe672cc18068e75374eecc26ec53e32e'
- 'f0056b23ae5fdc2b435f16a4879e495c45807375')
+ 'patch.patch'
+ )
+sha256sums=('e0b8c93f54682a4b3373907fd9ffe78094f95f7430dffc5038eccbcc4c3f78fd'
+ '03547eda251aa8678abcfb0f3780bec02deb16f3d326ac3cabaccd2d8fef7746'
+ )
prepare() {
- cd "xnp2-${pkgver}"
- patch -p1 -i "${srcdir}/patch.patch"
-}
+ mkdir -p build
-build() {
- cd "xnp2-${pkgver}/x11"
- ./configure \
+ patch -d "xnp2-${pkgver}" -p1 -i "${srcdir}/patch.patch"
+
+ cd build
+ ../xnp2-${pkgver}/x11/configure \
--prefix=/usr \
--enable-build-all \
+ --enable-ia32
#--enable-gtk3
- LC_ALL=C make
+}
+
+build() {
+ make -C build
}
package() {
- make -C "xnp2-${pkgver}/x11" DESTDIR="${pkgdir}/" install
+ make -C build DESTDIR="${pkgdir}/" install
}