aboutsummaryrefslogtreecommitdiff
path: root/dwm-git/PKGBUILD
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-03-12 00:22:47 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-03-12 00:22:47 +0100
commitca04f75ce2a79175a488ecde404d316c8c3ec527 (patch)
treeac1d9ba7377e4a91500091c1b1ee11d4b44568be /dwm-git/PKGBUILD
parenta4e7df7ca09a0fabb2516953c0eb7627b5774cab (diff)
downloadAUR-ca04f75ce2a79175a488ecde404d316c8c3ec527.tar.gz
AUR-ca04f75ce2a79175a488ecde404d316c8c3ec527.tar.zst
AUR-ca04f75ce2a79175a488ecde404d316c8c3ec527.zip
Deleted package: dwm-git
Deleted package: st-git
Diffstat (limited to 'dwm-git/PKGBUILD')
-rw-r--r--dwm-git/PKGBUILD46
1 files changed, 0 insertions, 46 deletions
diff --git a/dwm-git/PKGBUILD b/dwm-git/PKGBUILD
deleted file mode 100644
index 44f68e8..0000000
--- a/dwm-git/PKGBUILD
+++ /dev/null
@@ -1,46 +0,0 @@
1pkgname=dwm-git-custom
2_pkgname=dwm
3pkgver=6.2_029b988
4pkgrel=1
5pkgdesc="A dynamic window manager for X"
6url="http://dwm.suckless.org"
7arch=('i686' 'x86_64')
8license=('MIT')
9options=(zipman)
10depends=('libx11' 'libxinerama' 'libxft')
11makedepends=('git')
12install=dwm.install
13provides=('dwm')
14conflicts=('dwm')
15epoch=1
16source=(dwm.desktop
17 "$_pkgname::git+http://git.suckless.org/dwm")
18md5sums=('939f403a71b6e85261d09fc3412269ee'
19 'SKIP')
20
21pkgver(){
22 cd $_pkgname
23 echo $(git describe --tags |sed 's/-/./g')_$(md5sum $SRCDEST/config.h | cut -c1-7)
24}
25
26prepare() {
27 cd $_pkgname
28 if [[ -f "$SRCDEST/config.h" ]]; then
29 cp -f "$SRCDEST/config.h" config.h
30 fi
31}
32
33build() {
34 cd $_pkgname
35 make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
36}
37
38package() {
39 cd $_pkgname
40 make PREFIX=/usr DESTDIR="$pkgdir" install
41 install -m644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
42 install -m644 -D README "$pkgdir/usr/share/doc/$pkgname/README"
43 install -m644 -D ../dwm.desktop "$pkgdir/usr/share/xsessions/dwm.desktop"
44}
45
46# vim:set ts=2 sw=2 et: