summaryrefslogtreecommitdiff
path: root/extra/emelfm2/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/emelfm2/PKGBUILD')
-rw-r--r--extra/emelfm2/PKGBUILD27
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/emelfm2/PKGBUILD b/extra/emelfm2/PKGBUILD
new file mode 100644
index 000000000..e6f370b45
--- /dev/null
+++ b/extra/emelfm2/PKGBUILD
@@ -0,0 +1,27 @@
+# $Id: PKGBUILD 109827 2011-02-13 03:40:47Z kevin $
+# Maintainer: Kevin Piche <kevin@archlinux.org>
+# Contributor: contrasutra
+
+pkgname=emelfm2
+pkgver=0.7.5
+pkgrel=1
+pkgdesc="A file manager that implements the popular two-pane design"
+arch=(i686 x86_64)
+url="http://emelfm2.net/"
+depends=('gtk2')
+license=('GPL')
+source=(http://emelfm2.net/rel/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('f2167b0a595a2d3964b0cde2c5a6305c')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make PREFIX=/usr
+ make PREFIX=${pkgdir}/usr install
+ make PREFIX=${pkgdir}/usr install_i18n
+
+ install -m 755 ${pkgdir}/usr/share/pixmaps/emelfm2/emelfm2_48.png \
+ ${pkgdir}/usr/share/pixmaps/emelfm2.png
+ sed -e '/Icon=/ s^emelfm2/emelfm2_48.png^emelfm2.png^' \
+ -e '/Categories=/ s^;$^;Application;Utility;^' \
+ -i ${pkgdir}/usr/share/applications/emelfm2.desktop
+}