diff options
| author | Leo <thinkabit.ukim@gmail.com> | 2020-02-24 18:53:09 -0300 |
|---|---|---|
| committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-25 08:25:49 -0300 |
| commit | 381019175a412ae877b27eb69e0cd2a0cf0fa28c (patch) | |
| tree | f92dd0b508f51f65a160f0a984853352d6910039 /community | |
| parent | 7eb07d81734beb7775f2a0e0f947730d87a3c57f (diff) | |
| download | aports-381019175a412ae877b27eb69e0cd2a0cf0fa28c.tar.bz2 aports-381019175a412ae877b27eb69e0cd2a0cf0fa28c.tar.xz | |
community/dwm: move from main
Diffstat (limited to 'community')
| -rw-r--r-- | community/dwm/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/community/dwm/APKBUILD b/community/dwm/APKBUILD new file mode 100644 index 0000000000..5043178eaf --- /dev/null +++ b/community/dwm/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Gaber Ayoubi <gaber.ayoubi@gmail.com> +# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> +pkgname=dwm +pkgver=6.2 +pkgrel=0 +pkgdesc="dwm - dynamic window manager" +url="https://dwm.suckless.org" +arch="all" +license="MIT/X" +depends="dmenu st" +depends_dev="" +makedepends="libxft-dev libx11-dev libxinerama-dev" +install="" +subpackages="$pkgname-doc" +source="https://dl.suckless.org/$pkgname/$pkgname-$pkgver.tar.gz" + +builddir="$srcdir"/$pkgname-$pkgver +prepare() { + default_prepare + sed -i -e '/CFLAGS/{s/-Os//;s/=/+=/}' \ + -e '/LDFLAGS/{s/=/+=/}' \ + "$builddir"/config.mk +} + +build() { + make X11INC=/usr/include/X11 \ + X11LIB=/usr/lib/X11 \ + FREETYPEINC=/usr/include/freetype2 \ + -C "$builddir" +} + +package() { + make PREFIX=/usr DESTDIR="$pkgdir" \ + -C "$builddir" install +} + +sha512sums="01abcab954e5b7c20d011e6fd9c28025271fea2e85610c928812f7c6a09f99d7f9e93d11ffc2d6a7aca894b3fa7e507c6c2fe5f26ff5ddcfc650a9bbaaa41e06 dwm-6.2.tar.gz" |
