diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/emelfm2/PKGBUILD | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/emelfm2/PKGBUILD')
-rw-r--r-- | community/emelfm2/PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/community/emelfm2/PKGBUILD b/community/emelfm2/PKGBUILD new file mode 100644 index 000000000..59d86b3cb --- /dev/null +++ b/community/emelfm2/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: PKGBUILD 83138 2013-01-27 16:13:32Z pierre $ +# Maintainer: Kevin Piche <kevin@archlinux.org> +# Contributor: contrasutra + +pkgname=emelfm2 +pkgver=0.8.2 +pkgrel=1 +pkgdesc="A file manager that implements the popular two-pane design" +arch=('i686' 'x86_64') +url="http://emelfm2.net/" +depends=('gtk2') +license=('GPL3') +source=("http://emelfm2.net/rel/${pkgname}-${pkgver}.tar.bz2") +sha1sums=('d4498285ae77f0d524ce9be11d50a0aae9569e5f') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + make PREFIX=/usr +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make PREFIX="${pkgdir}/usr" install 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" +} |