summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD42
1 files changed, 20 insertions, 22 deletions
diff --git a/PKGBUILD b/PKGBUILD
index b9e59fd3716..4735a5d536b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,41 +1,39 @@
+# Maintainer: Anish Vundela <anishreddyvundela@gmail.com>
pkgname=dwm-supermario9590-git
-pkgver=6.2.r2.b28cc27
+pkgver=6.2
pkgrel=1
-pkgdesc="A heavily-patched and customized build of dwm from Supermario9590."
-arch=(x86_64 i686)
-url="https://gitlab.com/supermario9590/dwm-supermario9590.git"
+pkgdesc="My custom build of suckless' DWM"
+arch=('i686' 'x86_64')
+url="https://gitlab.com/supermario9590/dwm-supermario9590"
license=('MIT')
groups=()
-depends=(libx11 st dmenu)
-makedepends=(make)
-checkdepends=()
-optdepends=(surf)
-provides=(dwm)
-conflicts=(dwm)
+depends=('libx11' 'libxinerama' 'libxft' 'freetype2' 'st' 'dmenu' 'ttf-symbola' 'nerd-fonts-mononoki')
+makedepends=('git')
+provides=("dwm")
+conflicts=("dwm")
replaces=()
backup=()
options=()
+install=
source=("git+$url")
noextract=()
md5sums=('SKIP')
-validpgpkeys=()
pkgver() {
- cd "${_pkgname}"
- printf "6.2.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd dwm-supermario9590
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
- cd dwm-supermario9590
- make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 FREETYPEINC=/usr/include/freetype2
+ cd dwm-supermario9590
+ make
}
package() {
- cd dwm-supermario9590
- mkdir -p ${pkgdir}/opt/${pkgname}
- cp -rf * ${pkgdir}/opt/${pkgname}
- make PREFIX=/usr DESTDIR="${pkgdir}" install
- install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/dwm-supermario9590/LICENSE"
- install -Dm644 "${srcdir}/dwm-supermario9590/dwm.desktop" "$pkgdir/usr/share/xsessions/dwm.desktop"
+ cd dwm-supermario9590
+ mkdir -p ${pkgdir}/opt/${pkgname}/
+ cp -rf * $pkgdir/opt/$pkgname/
+ make DESTDIR=$pkgdir PREFIX=/usr install
+ install -m644 -D LICENCE $pkgdir/usr/share/licences/$pkgname/LICENCE
+ install -m644 -D README.md $pkgdir/usr/share/doc/$pkgname/README.md
}
-