summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnish2020-07-12 12:57:43 +0100
committerAnish2020-07-12 12:57:43 +0100
commit8d72a82bda01e8ba1155ae1c5b93d7b258b292ee (patch)
treef891c234e65a0aa7ddcfd2cd31f3b76f4b9eabb7
downloadaur-8d72a82bda01e8ba1155ae1c5b93d7b258b292ee.tar.gz
Initial Push
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD41
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..fce3522425c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = dwm-supermario9590-git
+ pkgdesc = A heavily-patched and customized build of dwm from Supermario9590.
+ pkgver = 6.2.r2.b28cc27
+ pkgrel = 1
+ url = https://github.com/supermario9590/dwm-supermario9590.git
+ arch = x86_64
+ arch = i686
+ license = MIT
+ makedepends = make
+ depends = libx11
+ depends = st
+ depends = dmenu
+ optdepends = surf
+ provides = dwm
+ conflicts = dwm
+ source = git+https://github.com/supermario9590/dwm-supermario9590.git
+ md5sums = SKIP
+
+pkgname = dwm-supermario9590-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..45e44d50549
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,41 @@
+pkgname=dwm-supermario9590-git
+pkgver=6.2.r2.b28cc27
+pkgrel=1
+pkgdesc="A heavily-patched and customized build of dwm from Supermario9590."
+arch=(x86_64 i686)
+url="https://github.com/supermario9590/dwm-supermario9590.git"
+license=('MIT')
+groups=()
+depends=(libx11 st dmenu)
+makedepends=(make)
+checkdepends=()
+optdepends=(surf)
+provides=(dwm)
+conflicts=(dwm)
+replaces=()
+backup=()
+options=()
+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)"
+}
+
+build() {
+ cd dwm-supermario9590
+ make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11 FREETYPEINC=/usr/include/freetype2
+}
+
+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"
+}
+