[arch-commits] Commit in emelfm2/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 21:26:52 UTC 2020


    Date: Tuesday, July 7, 2020 @ 21:26:51
  Author: felixonmars
Revision: 660430

archrelease: copy trunk to community-staging-x86_64

Added:
  emelfm2/repos/community-staging-x86_64/
  emelfm2/repos/community-staging-x86_64/PKGBUILD
    (from rev 660428, emelfm2/trunk/PKGBUILD)

----------+
 PKGBUILD |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

Copied: emelfm2/repos/community-staging-x86_64/PKGBUILD (from rev 660428, emelfm2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 21:26:51 UTC (rev 660430)
@@ -0,0 +1,34 @@
+# Maintainer: Kyle Keen <keenerd at gmail.com>
+# Contributor: Kevin Piche <kevin at archlinux.org>
+# Contributor: contrasutra
+
+pkgname=emelfm2
+pkgver=0.9.1
+pkgrel=3
+pkgdesc="A file manager that implements the popular two-pane design"
+arch=('x86_64')
+url="http://freshmeat.sourceforge.net/projects/emelfm2"
+depends=('gtk2')
+license=('GPL3')
+source=("https://ftp.mirrorservice.org/sites/download.salixos.org/x86_64/extra-14.2/source/system/emelfm2/emelfm2-$pkgver.tar.bz2")
+sha1sums=('62eb6299d0a33281feae2e6ec4ddab2194c36963')
+# https://github.com/tom2tom/emelfm2
+
+# WITH_SYSTEM_ICONS=1 added 0.9.1 ?
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+  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"
+}



More information about the arch-commits mailing list