summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntonio Orefice2015-09-11 10:26:02 +0200
committerAntonio Orefice2015-09-11 10:26:02 +0200
commit1e1ab68c34b3772dcc022b54a1706d46cf22d7f4 (patch)
tree280e8eea07c4e5e05504232ebd536485650bd7b3
parent367a2591990c5365aa672c68ea2f99e4c3dda975 (diff)
downloadaur-1e1ab68c34b3772dcc022b54a1706d46cf22d7f4.tar.gz
I made it...
-rw-r--r--PKGBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index efb648f8d0eb..0b294aa2d5b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=xt7-player-mpv
pkgver=0.10.0381
-hotfix=hotfix
+hotfix=-hotfix
pkgrel=1
_realname=xt7-player-mpv
pkgdesc="Aims to be an 'almost complete' but usable mpv gui"
@@ -39,14 +39,13 @@ depends=('gambas3-gb-image>=3.6.2'
makedepends=('gambas3-devel')
optdepends=('python2: for Opensubtitles.org integration' 'ladspa: more audio plugins' 'linuxtv-dvb-apps: for DVB support' 'dvbsnoop: DVBT EPG' 'xdg-utils: for desktop integration' 'xbindkeys: for global hotkeys support' 'aria2: for youtube segmented downloads')
-source=(https://github.com/kokoko3k/xt7-player-mpv/archive/$pkgver-$hotfix.tar.gz 'license.txt')
+source=(https://github.com/kokoko3k/xt7-player-mpv/archive/$pkgver$hotfix.tar.gz 'license.txt')
md5sums=('a1e943796e53cf63ec9246b7163b67fd'
'b6f1380e33b47d0ed95c7ba1b3f4ec73')
build() {
-
- cd ${srcdir}/${_realname}-${pkgver-$hotfix}
+ cd ${srcdir}/${_realname}-${pkgver}$hotfix
gbc3 -e -a -g -t -p -m
gba3 || return 1
@@ -54,12 +53,12 @@ build() {
package() {
- cd ${srcdir}/${_realname}-${pkgver}/
+ cd ${srcdir}/${_realname}-${pkgver}$hotfix/
sed -i 's/Exec=xt7-player-mpv.gambas/Exec=xt7-player-mpv/' ./xt7-player-mpv.desktop
install -d ${pkgdir}/usr/bin
- install -m755 ${_realname}-${pkgver}.gambas ${pkgdir}/usr/bin/xt7-player-mpv
+ install -m755 ${_realname}-${pkgver}$hotfix.gambas ${pkgdir}/usr/bin/xt7-player-mpv
install -D xt7-player-mpv.png ${pkgdir}/usr/share/pixmaps/xt7-player-mpv.png
install -D xt7-player-mpv.desktop ${pkgdir}/usr/share/applications/xt7-player-mpv.desktop
install -Dm644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/xt7-player/license.txt