summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Riedel2021-02-02 06:49:54 +0100
committerSebastian Riedel2021-02-02 06:49:54 +0100
commitd71ed71a591b034130faad2f71a7ceb00265aba7 (patch)
treebc7178dc0df6fbb9636399d5b751b7629aa496da
parent8abfc309cf1588937697399d5355b334f786cda8 (diff)
downloadaur-d71ed71a591b034130faad2f71a7ceb00265aba7.tar.gz
Convert .txt files to unix line breaks
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD22
2 files changed, 15 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 98f532301e7..739ebe24d16 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,17 +1,18 @@
pkgbase = emulicious-bin
pkgdesc = Game Boy, Game Boy Color, Master System, Game Gear and MSX emulator
pkgver = 2021.01.30
- pkgrel = 2
+ pkgrel = 3
url = https://emulicious.net
arch = any
license = custom,
license = BSD
makedepends = gendesk
+ makedepends = dos2unix
depends = java-environment
source = emulicious-bin-2021.01.30.zip::https://emulicious.net/download/emulicious/?wpdmdl=205
source = emulicious.sh
sha256sums = fbe0ac99dae07c19123ecfacca6100a1dc97a9344133a3caa9ab75616892100f
- sha256sums = SKIP
+ sha256sums = 3f9442376a7a8ba93ff5490826bcd5b5b81c5c62b3a6ec48bcd586a0e42fca66
pkgname = emulicious-bin
diff --git a/PKGBUILD b/PKGBUILD
index 7ff75c65a9d..2cac0922a46 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,30 +5,32 @@ pkgname="emulicious-bin"
_name="emulicious"
_exec="emulicious"
_genericname="Emulator"
-# for release date see WhatsNew.txt
-# emulicious does not communicate any version numbers
pkgver=2021.01.30
-pkgrel=2
+pkgrel=3
pkgdesc="Game Boy, Game Boy Color, Master System, Game Gear and MSX emulator"
_mimetype="application/x-gameboy-rom;application/x-gameboy-color-rom;application/x-sms-rom;application/x-gamegear-rom;application/x-msx-rom"
url="https://emulicious.net"
license=('custom', 'BSD')
arch=('any')
depends=('java-environment')
-makedepends=('gendesk')
+makedepends=('gendesk' 'dos2unix')
source=("$pkgname-$pkgver.zip::https://emulicious.net/download/emulicious/?wpdmdl=205" "emulicious.sh")
-sha256sums=('fbe0ac99dae07c19123ecfacca6100a1dc97a9344133a3caa9ab75616892100f' 'SKIP')
+sha256sums=('fbe0ac99dae07c19123ecfacca6100a1dc97a9344133a3caa9ab75616892100f'
+ '3f9442376a7a8ba93ff5490826bcd5b5b81c5c62b3a6ec48bcd586a0e42fca66')
prepare() {
gendesk -f -n
+ # was zipped on windows
+ dos2unix "${srcdir}/"*.txt
}
-package() {
- # get new release ready
- #grep "^[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}" ${srcdir}/WhatsNew.txt | head -1 | tr - .
- #sha256sum ${srcdir}/$pkgname-$pkgver.zip
- #makepkg --printsrcinfo > .SRCINFO
+# emulicious does not communicate any version numbers
+# therefore we take the release date from WhatsNew.txt
+pkgver() {
+ grep "^[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}" "${srcdir}/WhatsNew.txt" | head -1 | tr - .
+}
+package() {
mkdir -p "${pkgdir}/usr/share/${pkgname}/"
install -Dm644 "${srcdir}/License.txt" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
install -Dm644 "${srcdir}/LICENSE-JInput.txt" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE-JInput"