summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Angelacos <nangel@alpinelinux.org>2017-05-08 08:43:47 -0400
committerNathan Angelacos <nangel@alpinelinux.org>2017-05-08 08:43:47 -0400
commit6da583e444028373640463cd53d28d7f27286d5a (patch)
tree4dc1a83718154ab8ba6ce0559341924fa157ac66
parente386ebb77aa60743a5f8865e67580bed0d29b4c3 (diff)
downloadaports-6da583e444028373640463cd53d28d7f27286d5a.tar.bz2
aports-6da583e444028373640463cd53d28d7f27286d5a.tar.xz
Revert "sdlmame"
-rw-r--r--sdlmame/APKBUILD39
1 files changed, 20 insertions, 19 deletions
diff --git a/sdlmame/APKBUILD b/sdlmame/APKBUILD
index 13c2859..3b23b98 100644
--- a/sdlmame/APKBUILD
+++ b/sdlmame/APKBUILD
@@ -4,7 +4,7 @@ _pkgmaj=0
_pkgmin=183
pkgver=${_pkgmaj}.${_pkgmin}
_pkgver=${_pkgmaj}${_pkgmin}
-pkgrel=1
+pkgrel=0
pkgdesc="Vintage computer emulator with SDL support"
arch=all
url="http://mamedev.org/"
@@ -12,7 +12,7 @@ license="GPL2"
#depends=""
makedepends="alsa-lib libxinerama-dev qt5-qtbase-dev sdl2-dev sdl2_ttf-dev glu mesa-dev nasm python2 unzip"
install=
-subpackages="$pkgname-doc $pkgname-extras"
+subpackages="$pkgname-doc"
source="https://github.com/mamedev/mame/releases/download/mame${_pkgver}/mame${_pkgver}s.zip
0001-gcc-4-6.patch
@@ -57,20 +57,31 @@ package() {
cd "$builddir"
- install -Dm755 mame "$pkgdir"/usr/bin/${pkgname} || \
- install -Dm755 mame64 "$pkgdir"/usr/bin/${pkgname}
-
- for i in chdman jedutil regrep romcmp src2html srcclean ldverify ldresample; do
- install -m755 ${i} "$pkgdir"/usr/bin/${i}
- done
+ install -Dm755 mame "$pkgdir"/usr/lib/${pkgname}/${pkgname} || \
+ install -Dm755 mame64 "$pkgdir"/usr/lib/${pkgname}/${pkgname}
+
+ install -m755 chdman "$pkgdir"/usr/lib/${pkgname}/chdman
+ install -m755 jedutil "$pkgdir"/usr/lib/${pkgname}/jedutil
+ install -m755 regrep "$pkgdir"/usr/lib/${pkgname}/regrep
+ install -m755 romcmp "$pkgdir"/usr/lib/${pkgname}/romcmp
+ # install -m755 testkeys "$pkgdir"/usr/lib/${pkgname}/testkeys
+ install -m755 src2html "$pkgdir"/usr/lib/${pkgname}/src2html
+ install -m755 srcclean "$pkgdir"/usr/lib/${pkgname}/srcclean
+ install -m755 ldverify "$pkgdir"/usr/lib/${pkgname}/ldverify
+ install -m755 ldresample "$pkgdir"/usr/lib/${pkgname}/ldresample
install -dm755 "$pkgdir"/usr/share/${pkgname}
+ for i in $pkgname chdman jedutil regrep romcmp testkeys src2html srcclean ldverify ldresample; do
+ ln -s /usr/lib/$pkgname/$i "$pkgdir"/usr/share/$pkgname/$i
+ done
# Install the extra bits
install -d "$pkgdir"/usr/share/${pkgname}/{artwork,ctrlr,hash,keymaps,shader}
install -d "$pkgdir"/usr/share/man/man1
install -d "$pkgdir"/usr/share/man/man6
- # install -m644 src/osd/modules/opengl/shader/glsl*.*h "$pkgdir"/usr/share/${pkgname}/shader/
+ install -m644 src/osd/modules/opengl/shader/glsl*.*h "$pkgdir"/usr/share/${pkgname}/shader/
+ # install -m644 src/osd/sdl/man/*.1* "$pkgdir"/usr/share/man/man1/
+ # install -m644 src/osd/sdl/man/*.6* "$pkgdir"/usr/share/man/man6/
cp -a "$srcdir"/artwork/* "$pkgdir"/usr/share/${pkgname}/artwork/
install -m644 "$srcdir"/ctrlr/* "$pkgdir"/usr/share/${pkgname}/ctrlr/
@@ -96,16 +107,6 @@ package() {
cp -a docs "$pkgdir"/usr/share/doc/$pkgname
}
-extras() {
- depends="$pkgname"
- pkgdesc="Extra utils for $pkgname"
- mkdir -p "$subpkgdir"/usr/bin
- cd "$pkgdir"
- for i in chdman jedutil regrep romcmp src2html srcclean ldverify ldresample; do
- mv usr/bin/${i} "$subpkgdir"/usr/bin/
- done
-}
-
sha512sums="4ef43af2f887bc68372e7146ffc3ba0db476994651270ab841b5df823c7345be645c4e6e5a08184c70815abdbe6581c291d624bb51402cc8f4579247cfdf1daf mame0183s.zip
ad2f62d35947c8aadfacd7b6239cbb9f4d5e9c106de5499331afd61db136d04156e6775fa72a3323357fb999ac4b014ea9f03050bde4e93bf8e3ca291bf8f8e2 0001-gcc-4-6.patch