commit cac568af5bcfdc8b795ecd1984a64732306f18ee
Author: Nihal Jere <nihal@nihaljere.xyz>
Date: Thu, 30 Jul 2020 21:41:57 -0500
initial commit
Diffstat:
5 files changed, 152 insertions(+), 0 deletions(-)
diff --git a/dmenu.PKGBUILD b/dmenu.PKGBUILD
@@ -0,0 +1,35 @@
+# This is an example PKGBUILD file. Use this as a start to creating your own,
+# and remove these comments. For more information, see 'man PKGBUILD'.
+# NOTE: Please fill out the license field for your package! If it is unknown,
+# then please put 'unknown'.
+
+# Maintainer: Your Name <youremail@domain.com>
+pkgname=dmenu-nihal
+pkgver=4.9
+pkgrel=3
+pkgdesc="nihal's build of dmenu"
+arch=('x86_64')
+url="git://nihaljere.xyz/dmenu-nihal"
+license=('MIT')
+depends=(fontconfig libxft)
+makedepends=(make git sh)
+conflicts=(dmenu)
+source=("$url")
+md5sums=('SKIP')
+
+prepare() {
+ cd "$pkgname"
+ git checkout config
+ git checkout master
+ git checkout config config.h
+}
+
+build() {
+ cd "$pkgname"
+ make
+}
+
+package() {
+ cd "$pkgname"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/dwm.PKGBUILD b/dwm.PKGBUILD
@@ -0,0 +1,35 @@
+# This is an example PKGBUILD file. Use this as a start to creating your own,
+# and remove these comments. For more information, see 'man PKGBUILD'.
+# NOTE: Please fill out the license field for your package! If it is unknown,
+# then please put 'unknown'.
+
+# Maintainer: Your Name <youremail@domain.com>
+pkgname=dwm-nihal
+pkgver=6.2
+pkgrel=2
+pkgdesc="nihal's build of dwm"
+arch=('x86_64')
+url="git://nihaljere.xyz/dwm-nihal"
+license=('MIT')
+depends=(fontconfig libxft)
+makedepends=(make git sh)
+conflicts=(dwm)
+source=("$url")
+md5sums=('SKIP')
+
+prepare() {
+ cd "$pkgname"
+ git checkout config
+ git checkout master
+ git checkout config config.h
+}
+
+build() {
+ cd "$pkgname"
+ make
+}
+
+package() {
+ cd "$pkgname"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/make b/make
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+for pkg in "$@"
+do
+ if [ ! -e "$pkg.PKGBUILD" ]
+ then
+ echo "$pkg.PKGBUILD does not exist"
+ exit 1
+ fi
+
+ # build/install package
+ mkdir "$pkg"
+ cp "$pkg.PKGBUILD" "$pkg/PKGBUILD"
+ (
+ cd "$pkg" || exit
+ makepkg -i
+ )
+ rm -rf "$pkg"
+done
diff --git a/slock.PKGBUILD b/slock.PKGBUILD
@@ -0,0 +1,28 @@
+# This is an example PKGBUILD file. Use this as a start to creating your own,
+# and remove these comments. For more information, see 'man PKGBUILD'.
+# NOTE: Please fill out the license field for your package! If it is unknown,
+# then please put 'unknown'.
+
+# Maintainer: Your Name <youremail@domain.com>
+pkgname=slock-nihal
+pkgver=1.4
+pkgrel=1
+pkgdesc="nihal's build of slock"
+arch=('x86_64')
+url="git://nihaljere.xyz/slock-nihal"
+license=('MIT')
+depends=(libx11)
+makedepends=(make git sh)
+conflicts=(slock)
+source=("$url")
+md5sums=('SKIP')
+
+build() {
+ cd "$pkgname"
+ make
+}
+
+package() {
+ cd "$pkgname"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/st.PKGBUILD b/st.PKGBUILD
@@ -0,0 +1,35 @@
+# This is an example PKGBUILD file. Use this as a start to creating your own,
+# and remove these comments. For more information, see 'man PKGBUILD'.
+# NOTE: Please fill out the license field for your package! If it is unknown,
+# then please put 'unknown'.
+
+# Maintainer: Your Name <youremail@domain.com>
+pkgname=st-nihal
+pkgver=0.8.4
+pkgrel=1
+pkgdesc="nihal's build of st"
+arch=('x86_64')
+url="git://nihaljere.xyz/st-nihal"
+license=('MIT')
+depends=(fontconfig libxft)
+makedepends=(make git sh)
+conflicts=(st)
+source=("$url")
+md5sums=('SKIP')
+
+prepare() {
+ cd "$pkgname"
+ git checkout config
+ git checkout master
+ git checkout config config.h
+}
+
+build() {
+ cd "$pkgname"
+ make
+}
+
+package() {
+ cd "$pkgname"
+ make DESTDIR="$pkgdir/" install
+}