diff options
author | Wouter Wijsman | 2020-04-22 20:14:22 +0200 |
---|---|---|
committer | Wouter Wijsman | 2020-04-22 20:14:22 +0200 |
commit | 31afdf39478d0657210c4f28c24094798eaec8f3 (patch) | |
tree | 607650b421eef4632b85d6730c006940fc167760 | |
parent | f5ba01f45d266938acf760e288f8e8b5d0c61ca0 (diff) | |
download | aur-31afdf39478d0657210c4f28c24094798eaec8f3.tar.gz |
Update to rc1 version
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 38 |
2 files changed, 22 insertions, 30 deletions
@@ -1,8 +1,8 @@ pkgbase = dosbox-staging - pkgdesc = A modernized DOSBox project using current development practices and tools, fixing issues, adding features that better support today's systems - pkgver = v0.75.0.pre + pkgdesc = DOS/x86 emulator focusing on ease of use. Based on DOSBox + pkgver = 0.75.0.rc1 pkgrel = 1 - url = https://github.com/dreamer/dosbox-staging + url = https://github.com/dosbox-staging/dosbox-staging arch = any license = GPL2 makedepends = autoconf @@ -17,12 +17,8 @@ pkgbase = dosbox-staging optdepends = ncurses provides = dosbox conflicts = dosbox - source = https://github.com/dreamer/dosbox-staging/archive/v0.75.0-pre.tar.gz - source = dosbox-staging.svg - source = dosbox-staging.desktop - md5sums = fb08c1fe032a7832c3ee8989526c7d95 - md5sums = ecb87451af9e962513d32dc452aa7213 - md5sums = a0d2462e8e6a1cb0e1e09c318e280414 + source = https://github.com/dosbox-staging/dosbox-staging/archive/v0.75.0-rc1.tar.gz + md5sums = 61ef380463ee89c15ccea6e7a3930913 pkgname = dosbox-staging @@ -1,11 +1,13 @@ # Maintainer: Wouter Wijsman <wwijsman@live.nl> pkgname=dosbox-staging -pkgver=v0.75.0.pre +_pkgver=0.75.0 +_rc=rc1 +pkgver=${_pkgver}.${_rc} pkgrel=1 -pkgdesc="A modernized DOSBox project using current development practices and tools, fixing issues, adding features that better support today's systems" +pkgdesc="DOS/x86 emulator focusing on ease of use. Based on DOSBox" arch=('any') -url="https://github.com/dreamer/dosbox-staging" +url="https://github.com/dosbox-staging/dosbox-staging" license=('GPL2') depends=('sdl2' 'sdl2_net' 'opusfile' 'alsa-lib') optdepends=('libpng' 'ncurses') @@ -13,46 +15,40 @@ makedepends=('autoconf' 'automake' 'gcc' 'gzip') provides=("dosbox") conflicts=("dosbox") source=( - "https://github.com/dreamer/dosbox-staging/archive/v0.75.0-pre.tar.gz" - "dosbox-staging.svg" - "dosbox-staging.desktop" + "https://github.com/dosbox-staging/${pkgname}/archive/v${_pkgver}-${_rc}.tar.gz" ) md5sums=( - 'fb08c1fe032a7832c3ee8989526c7d95' - 'ecb87451af9e962513d32dc452aa7213' - 'a0d2462e8e6a1cb0e1e09c318e280414' + '61ef380463ee89c15ccea6e7a3930913' ) prepare() { - cd "$srcdir/$pkgname-0.75.0-pre" + cd "$srcdir/${pkgname}-${_pkgver}-${_rc}" FLAGS="-O3 -DNDEBUG -pipe" ./autogen.sh ./configure CFLAGS="$FLAGS" CXXFLAGS="$FLAGS" --prefix=/usr } build() { - cd "$srcdir/$pkgname-0.75.0-pre" + cd "$srcdir/${pkgname}-${_pkgver}-${_rc}" make -j "$(nproc)" } package() { - # Install desktop files - install -Dm 644 "$srcdir/$pkgname.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg" - install -Dm 644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + cd "$srcdir/${pkgname}-${_pkgver}-${_rc}" - cd "$srcdir/$pkgname-0.75.0-pre" # gzip the man file gzip -f "docs/dosbox.1" > "docs/dosbox.1.gz" - # install all other files + # install all files install -Dm 755 "src/dosbox" "$pkgdir/usr/bin/dosbox" install -Dm 644 "docs/dosbox.1.gz" "$pkgdir/usr/share/man/man1/dosbox.1.gz" - # documentation + # desktop file and icon + install -Dm 644 "contrib/icons/dosbox-staging.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/dosbox-staging.svg" + install -Dm 644 "contrib/linux/dosbox-staging.desktop" "$pkgdir/usr/share/applications/dosbox-staging.desktop" + + # dosbox-staging documents + install -Dm 644 "README.md" "$pkgdir/usr/share/doc/${_pkgname}/README" install -Dm 644 "docs/README.video" "$pkgdir/usr/share/doc/${_pkgname}/video.txt" install -Dm 644 "README" "$pkgdir/usr/share/doc/${_pkgname}/manual.txt" - - # This should be used once the desktop file and icon are included in the next release - #install -Dm 644 "contrib/icons/dosbox-staging.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/dosbox-staging.svg" - #install -Dm 644 "contrib/linux/dosbox-staging.desktop" "$pkgdir/usr/share/applications/dosbox-staging.svg" } |