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

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:29:44 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:29:44
  Author: felixonmars
Revision: 659270

archrelease: copy trunk to community-staging-x86_64

Added:
  dmenu/repos/community-staging-x86_64/
  dmenu/repos/community-staging-x86_64/PKGBUILD
    (from rev 659269, dmenu/trunk/PKGBUILD)

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

Copied: dmenu/repos/community-staging-x86_64/PKGBUILD (from rev 659269, dmenu/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:29:44 UTC (rev 659270)
@@ -0,0 +1,40 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Thorsten Töpper <atsutane-tu at freethoughts.de>
+# Contributor: Thayer Williams <thayer at archlinux.org>
+# Contributor: Jeff 'codemac' Mickey <jeff at archlinux.org>
+
+pkgname=dmenu
+pkgver=4.9
+pkgrel=2
+pkgdesc='Generic menu for X'
+url='https://tools.suckless.org/dmenu/'
+arch=('x86_64')
+license=('MIT')
+depends=('sh' 'libxinerama' 'libxft' 'freetype2')
+source=(https://dl.suckless.org/tools/dmenu-${pkgver}.tar.gz)
+sha512sums=('c2779209fe012de8ca1cdd72923da6d594f4a8368c85c3c0e0afd4ae489a95fe0e6f05a947d115b6b389aa7170ab14c2c645a2031353b0a08f38327ab461fe65')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  echo "CPPFLAGS+=${CPPFLAGS}" >> config.mk
+  echo "CFLAGS+=${CFLAGS}" >> config.mk
+  echo "LDFLAGS+=${LDFLAGS}" >> config.mk
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make \
+	  X11INC=/usr/include/X11 \
+	  X11LIB=/usr/lib/X11 \
+	  FREETYPEINC=/usr/include/freetype2
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make PREFIX=/usr DESTDIR="${pkgdir}" install
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list