summaryrefslogtreecommitdiff
path: root/extra/emelfm2/PKGBUILD
blob: b7a2cd806fd3f208a0f106c4a143f181fff7303f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $Id: PKGBUILD 136106 2011-08-23 02:10:25Z kevin $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: contrasutra

pkgname=emelfm2
pkgver=0.8.0
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=('8490d501e19009860f53ac6a98db74c1')

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
}