summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAskhat Bakarov2016-10-28 16:27:32 +0700
committerAskhat Bakarov2016-10-28 16:27:32 +0700
commit48e7510211af2bf3031a3ab3956237e11775a432 (patch)
tree2cb7e8c7cbf577f6ac338e2be5f008fb88832109 /PKGBUILD
downloadaur-48e7510211af2bf3031a3ab3956237e11775a432.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD48
1 files changed, 48 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0a0f2cfeb1e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,48 @@
+# Contributor: Tomas Kopecny aka Georgo10 <georgo10@gmail.com>
+# Contributor: scorpfa
+# Contributor: fi-dschi <fi-dschi_archlinux - at - arcor - dot - de>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+
+
+pkgname=mucommander
+pkgver=0.9.1
+pkgrel=1
+pkgdesc="A lightweight, cross-platform file manager with a dual-pane interface written in Java"
+url="http://www.mucommander.com"
+depends=('java-runtime')
+arch=('any')
+license=('GPL')
+source=(https://github.com/mucommander/mucommander/releases/download/${pkgver}/${pkgname}_${pkgver}_all.deb)
+sha256sums=('4c719e9c95d465f71651f0c0ca94ab14a9977ff4ab252c6867a6f6221483cc9d')
+
+
+prepare() {
+ cd $srcdir
+
+ # Extracting files
+ tar -xf data.tar.gz
+ sed -i 's|MUCOMMANDER_JAR=$CURRENT_DIR/mucommander.jar|MUCOMMANDER_JAR=/usr/share/mucommander/mucommander.jar|' $srcdir/usr/share/$pkgname/mucommander.sh
+}
+
+
+
+package() {
+ cd $srcdir
+
+
+ # Install jars
+ install -Dm644 ${srcdir}/usr/share/${pkgname}/${pkgname}.jar ${pkgdir}/usr/share/${pkgname}/${pkgname}.jar
+
+ # Install license
+ install -Dm644 ${srcdir}/usr/share/${pkgname}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license.txt
+
+ # Install icon
+ install -Dm644 ${srcdir}/usr/share/pixmaps/${pkgname}.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
+
+ # Install desktop file
+ install -Dm644 ${srcdir}/usr/share/applications/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
+
+ # Install run script
+ install -Dm755 ${srcdir}/usr/share/${pkgname}/${pkgname}.sh ${pkgdir}/usr/bin/${pkgname}
+
+}