leftwm-theme

This commit is contained in:
Nathan 2022-02-18 12:10:50 -06:00
parent 3655aeceb7
commit 010073175d
2 changed files with 62 additions and 0 deletions

26
leftwm-theme-git/.SRCINFO Normal file
View file

@ -0,0 +1,26 @@
pkgbase = leftwm-theme-git
pkgdesc = Theme manager for LeftWM
pkgver = r40.e6907a6
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

36
leftwm-theme-git/PKGBUILD Normal file
View file

@ -0,0 +1,36 @@
# Maintainer: ndowens <ndowens@artixlinux.org>
# Contributor: Mautamu mautam@usa.com
pkgname=leftwm-theme-git
pkgver=r75.556c8d4
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' 'libssh2' 'libgit2' 'libssh2')
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 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
}