diff options
Diffstat (limited to 'community/rbutil')
-rwxr-xr-x | community/rbutil/PKGBUILD | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/community/rbutil/PKGBUILD b/community/rbutil/PKGBUILD index 7f7670d4c..7ed26bf3e 100755 --- a/community/rbutil/PKGBUILD +++ b/community/rbutil/PKGBUILD @@ -1,41 +1,40 @@ -# $Id: PKGBUILD 85455 2013-03-01 19:10:50Z andrea $ +# $Id: PKGBUILD 96229 2013-08-22 00:02:57Z alucryd $ # Maintainer: Maxime Gauduin <alucryd@gmail.com> # Contributor: said <atvordhosbn@gmail.com> # Contributor: clinx <clinx.hacker@googlemail.com> pkgname=rbutil pkgver=1.3.1 -pkgrel=3 +pkgrel=4 pkgdesc="Rockbox Utility" arch=('i686' 'x86_64' 'mips64el') url="http://www.rockbox.org/twiki/bin/view/Main/RockboxUtility" license=("GPL") -depends=('qt4' 'libusb') +depends=('qt4' 'libusbx') +makedepends=('gendesk') optdepends=('speex: voice files support') -source=("http://download.rockbox.org/${pkgname}/source/RockboxUtility-v${pkgver}-src.tar.bz2" "${pkgname}.desktop") -sha256sums=('6c04b5c7eaad1762577908dedb9e40f5b0cee675150ae5ba844ea2c9bea294ca' - '539285237af16fbc60a7501963e8c2f584e58a31f2613481e6b42d21337b7a25') +source=("http://download.rockbox.org/${pkgname}/source/RockboxUtility-v${pkgver}-src.tar.bz2") +sha256sums=('6c04b5c7eaad1762577908dedb9e40f5b0cee675150ae5ba844ea2c9bea294ca') + +prepare() { + gendesk -n --pkgname "${pkgname}" --pkgdesc "${pkgdesc}" --name="Rockbox Utility" --exec="RockboxUtility" --categories="Application;Utility;" --comment="Rockbox automated installer" +} build() { - cd "${srcdir}"/RockboxUtility-v${pkgver}/${pkgname}/rbutilqt + cd RockboxUtility-v${pkgver}/${pkgname}/rbutilqt -# Build lrelease-qt4 rbutilqt.pro qmake-qt4 make } package(){ - cd "${srcdir}"/RockboxUtility-v${pkgver}/${pkgname}/rbutilqt - -# Install - install -dm 755 "${pkgdir}"/usr/{bin,share/pixmaps} - install -m 644 icons/rockbox-64.png "${pkgdir}"/usr/share/pixmaps/rbutil.png - install -m 755 RockboxUtility "${pkgdir}"/usr/bin/rbutil + cd RockboxUtility-v${pkgver}/${pkgname}/rbutilqt -# Desktop file - install -dm 755 "${pkgdir}"/usr/share/applications - install -m 644 "${srcdir}"/rbutil.desktop "${pkgdir}"/usr/share/applications/rbutil.desktop + install -dm 755 "${pkgdir}"/usr/{bin,share/{applications,pixmaps}} + install -m 755 {,"${pkgdir}"/usr/bin/}RockboxUtility + install -m 644 icons/rockbox-256.png "${pkgdir}"/usr/share/pixmaps/rbutil.png + install -m 644 {"${srcdir}","${pkgdir}"/usr/share/applications}/rbutil.desktop } #vim: ts=2 sw=2 et: |