summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 9 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index a0253cdc8ef..c47f642e8a4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Naoki Kanazawa <nk dot naoki912 at gmail dot com>
pkgname=toa
pkgver=0.0.1
-pkgrel=2
+pkgrel=3
pkgdesc='"toa" is simple music player made by Electron.'
arch=('any')
url='https://github.com/yuki540net/toa'
@@ -9,16 +9,15 @@ license=('MIT')
depends=('gtk2' 'gconf' 'xdg-utils' 'libxtst' 'libxss' 'nss' 'alsa-lib' 'xdg-utils')
makedepends=('unzip' 'gendesk')
source=(
- "${url}/releases/download/v${pkgver}/-linux-x64.zip"
+ "${url}/releases/download/v${pkgver}/toa-linux-x64.zip"
)
-noextract=("-linux-x64.zip")
+noextract=("toa-linux-x64.zip")
md5sums=(
- '99cd3e38d68ab0949ebd4cc08d63f304'
+ '869b089bd96d2fe936836595239c3a8e'
)
prepare() {
- mv -- -linux-x64.zip linux-x64.zip
- unzip -o -q linux-x64.zip
+ unzip -o -q toa-linux-x64.zip
gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc"
}
@@ -27,9 +26,10 @@ package() {
install -dm755 ${pkgdir}/usr/bin
install -dm755 ${pkgdir}/usr/lib
- cp -a ${srcdir}/兎亜-linux-x64 ${pkgdir}/usr/lib/${pkgname}
+ cp -a ${srcdir}/toa-linux-x64 ${pkgdir}/usr/lib/${pkgname}
- ln -s /usr/lib/toa/兎亜 ${pkgdir}/usr/bin/toa
+ ln -s /usr/lib/toa/toa ${pkgdir}/usr/bin/toa
- install -Dm644 "$srcdir/${pkgname}.desktop" "$pkgdir/usr/share/applications/${pkgname}.desktop"
+ install -Dm644 "${srcdir}/${pkgname}.desktop" "$pkgdir/usr/share/applications/${pkgname}.desktop"
+ install -Dm644 "${srcdir}/toa-linux-x64/resources/app/icons/icon.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
}