summaryrefslogtreecommitdiff
path: root/community/rbutil
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-01 00:05:33 -0800
committerroot <root@rshg054.dnsready.net>2013-03-01 00:05:33 -0800
commit5ae40a63ab4c6838234db5a9da1e99d8bc27875d (patch)
treedea7d338ac603743f5a323dc8f82b76bdbf5ab2e /community/rbutil
parentb56d5949c9b0c3b40a942cd83f71e4420473435b (diff)
Fri Mar 1 00:05:33 PST 2013
Diffstat (limited to 'community/rbutil')
-rwxr-xr-xcommunity/rbutil/PKGBUILD40
-rwxr-xr-xcommunity/rbutil/rbutil.desktop11
2 files changed, 51 insertions, 0 deletions
diff --git a/community/rbutil/PKGBUILD b/community/rbutil/PKGBUILD
new file mode 100755
index 000000000..228292f4c
--- /dev/null
+++ b/community/rbutil/PKGBUILD
@@ -0,0 +1,40 @@
+# $Id: PKGBUILD 85270 2013-02-28 11:01:50Z 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=2
+pkgdesc="Rockbox Utility"
+arch=('i686' 'x86_64')
+url="http://www.rockbox.org/twiki/bin/view/Main/RockboxUtility"
+license=("GPL")
+depends=('qt' 'libusb')
+source=("http://download.rockbox.org/${pkgname}/source/RockboxUtility-v${pkgver}-src.tar.bz2" "${pkgname}.desktop")
+sha256sums=('6c04b5c7eaad1762577908dedb9e40f5b0cee675150ae5ba844ea2c9bea294ca'
+ '539285237af16fbc60a7501963e8c2f584e58a31f2613481e6b42d21337b7a25')
+
+build() {
+ cd "${srcdir}"/RockboxUtility-v${pkgver}/${pkgname}/rbutilqt
+
+# Build
+ lrelease rbutilqt.pro
+ qmake
+ 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
+
+# Desktop file
+ install -dm 755 "${pkgdir}"/usr/share/applications
+ install -m 644 "${srcdir}"/rbutil.desktop "${pkgdir}"/usr/share/applications/rbutil.desktop
+}
+
+#vim: ts=2 sw=2 et:
diff --git a/community/rbutil/rbutil.desktop b/community/rbutil/rbutil.desktop
new file mode 100755
index 000000000..920b6a452
--- /dev/null
+++ b/community/rbutil/rbutil.desktop
@@ -0,0 +1,11 @@
+[Desktop Entry]
+Name=Rockbox Utility
+GenericName=Rockbox Utility
+Comment=Configure Rockbox
+Encoding=UTF-8
+Exec=rbutil
+Icon=rbutil.png
+Categories=Application;Qt;AudioVideo;Audio;
+StartupNotify=false
+Terminal=false
+Type=Application