From 5083f7ac8a7759c36d983ee280f540f8fc33aef0 Mon Sep 17 00:00:00 2001 From: Ryan Kes Date: Sun, 17 Mar 2019 17:50:41 +0100 Subject: [PATCH] initial import --- .gitignore | 4 ++++ PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 .gitignore create mode 100644 PKGBUILD diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ee7e3d3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.xz +*.gz +pkg/ +src/ diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..a44e098 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Levente Polyak +# Contributor: Sergej Pupykin +# Contributor: Bartłomiej Piotrowski +# Contributor: Thorsten Töpper +# Contributor: Thayer Williams +# Contributor: Jeff 'codemac' Mickey + +pkgname=dmenu +pkgver=4.9 +pkgrel=1 +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: +