mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
27 lines
852 B
Bash
27 lines
852 B
Bash
# $Id: PKGBUILD 41325 2009-06-03 00:57:39Z kevin $
|
|
# Maintainer: Kevin Piche <kevin@archlinux.org>
|
|
# Contributor: contrasutra
|
|
|
|
pkgname=emelfm2
|
|
pkgver=0.6.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=('c153749aea954f342b28a470866ac4b0')
|
|
|
|
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
|
|
}
|