summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormautamu2021-03-09 17:44:25 -0600
committermautamu2021-03-09 17:44:25 -0600
commitf70dfa11a2e9ecefce9eb922cf70d91d49b0c36b (patch)
treea50fc1968e4182e6a12abc08d508f3520a622624
downloadaur-f70dfa11a2e9ecefce9eb922cf70d91d49b0c36b.tar.gz
First commit of leftwm-theme-git, a theme manager for LeftWM
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD35
2 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6fb18eb8298
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+pkgbase = leftwm-theme-git
+ pkgdesc = Theme manager for LeftWM
+ pkgver = r18.7718850
+ pkgrel = 1
+ epoch = 2
+ url = https://github.com/leftwm/leftwm-theme
+ arch = i686
+ arch = x86_64
+ license = BSD
+ makedepends = cargo
+ makedepends = git
+ depends = leftwm
+ depends = openssl
+ depends = gcc-libs
+ depends = zlib
+ optdepends = dmenu: default launcher
+ optdepends = feh: used to set background images
+ optdepends = lemonbar: light weight bar
+ optdepends = polybar: light weight bar
+ provides = leftwm-theme
+ conflicts = leftwm-theme
+ source = leftwm-theme-git::git+https://github.com/leftwm/leftwm-theme.git
+ md5sums = SKIP
+
+pkgname = leftwm-theme-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2cbcaac3549
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Mautamu mautam@usa.com
+pkgname=leftwm-theme-git
+pkgver=r18.7718850
+pkgrel=1
+epoch=2
+pkgdesc="Theme manager for LeftWM"
+arch=('i686' 'x86_64')
+url="https://github.com/leftwm/leftwm-theme"
+license=('BSD')
+depends=('leftwm' 'openssl' 'gcc-libs' 'zlib')
+makedepends=('cargo' 'git')
+optdepends=('dmenu: default launcher'
+ 'feh: used to set background images'
+ 'lemonbar: light weight bar'
+ 'polybar: light weight bar')
+provides=('leftwm-theme')
+conflicts=('leftwm-theme')
+source=("${pkgname}::git+https://github.com/leftwm/leftwm-theme.git")
+md5sums=('SKIP')
+
+build() {
+ cd $pkgname
+ cargo +nightly build --release
+}
+
+pkgver() {
+ cd $pkgname
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ install -Dm644 -t "${pkgdir}/usr/share/licenses/${pkgname}" $pkgname/LICENSE
+ cd $pkgname/target/release
+ install -Dm755 leftwm-theme -t "$pkgdir"/usr/bin
+}