autolinux-dmenu


Logs | Files | LICENSE | LICENSE | GitLab


1
commit acfe6f972a6e25e59f45bcb2bfc2448d338b0e74
2
Author: Connor Etherington <[email protected]>
3
Date:   Thu Apr 18 02:26:31 2024 +0200
4
5
    Auto-Commit Update 18.04.2024 - 02:26:31
6
---
7
 PKGBUILD | 41 ++++++++++++++++-------------------------
8
 1 file changed, 16 insertions(+), 25 deletions(-)
9
10
diff --git a/PKGBUILD b/PKGBUILD
11
index addbd04..454c56c 100644
12
--- a/PKGBUILD
13
+++ b/PKGBUILD
14
@@ -1,44 +1,35 @@
15
-# Maintainer: Derek Taylor <[email protected]>
16
-pkgname=dmenu-distrotube-git
17
-pkgver=5.0.r28.988f34b
18
+# Maintainer: Connor Etherington <[email protected]>
19
+# ---
20
+pkgname="autolinux-dmenu"
21
+pkgver="0.2.0"
22
 pkgrel=1
23
-epoch=
24
-pkgdesc="A build of dmenu patched for centering, borders, grids, numbers, line height, mouse support, fuzzy matching and highlighting."
25
 arch=(x86_64)
26
-url="https://www.gitlab.com/dwt1/dmenu-distrotube.git"
27
+url="https://gitlab.com/a4to/${pkgname}"
28
 license=('MIT')
29
-groups=()
30
 depends=(ttf-hack ttf-joypixels)
31
-makedepends=(git)
32
-checkdepends=()
33
-optdepends=()
34
 provides=(dmenu)
35
 conflicts=(dmenu)
36
-replaces=()
37
-backup=()
38
-options=()
39
-install=
40
-changelog=
41
 source=("git+$url")
42
 noextract=()
43
 md5sums=('SKIP')
44
-validpgpkeys=()
45
 
46
 pkgver() {
47
 	cd "${_pkgname}"
48
-    printf "5.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
49
+  printf "0.1.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
50
 }
51
 
52
 build() {
53
-	cd dmenu-distrotube
54
-    make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
55
+  cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}-${arch}" >/dev/null 2>&1 ||
56
+  cd "$srcdir/${pkgname}"
57
+  make X11INC=/usr/include/X11 X11LIB=/usr/lib/X11
58
 }
59
 
60
 package() {
61
-    cd dmenu-distrotube  
62
-    mkdir -p ${pkgdir}/opt/${pkgname}
63
-    cp -rf * ${pkgdir}/opt/${pkgname}
64
-    make PREFIX=/usr DESTDIR="${pkgdir}" install
65
-    install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
66
-    install -Dm644 README.org "${pkgdir}/usr/share/doc/${pkgname}/README.org"
67
+  cd "$srcdir/${pkgname}-${pkgver}-${pkgrel}-${arch}" >/dev/null 2>&1 ||
68
+  cd "$srcdir/${pkgname}"
69
+
70
+  mkdir -p ${pkgdir}/opt/${pkgname}
71
+  cp -rf * ${pkgdir}/opt/${pkgname}
72
+  make PREFIX=/usr DESTDIR="${pkgdir}" install
73
+  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
74
 }