diff options
author | Fruitsnack | 2020-09-01 23:34:57 +0300 |
---|---|---|
committer | Fruitsnack | 2020-09-01 23:34:57 +0300 |
commit | a705d22033cf6fb7ad90a0562f620169c6c5217f (patch) | |
tree | 20c670ce160b62004824e9482d3692d99a30e058 /PKGBUILD | |
download | aur-reactionary-kde-git.tar.gz |
init
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..edaeba32303b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,37 @@ +pkgname=reactionary-kde-git +_pkgname=Reactionary +pkgver=r98.30bce99 +pkgrel=1 +pkgdesc="ReactOS-like theme for KDE Plasma" +arch=(any) +url="https://github.com/phobi4n/$_pkgname" +license=('GPL3') +options=('!strip') +source=("git+$url.git") +sha256sums=('SKIP') +makedepends=('git') + +pkgver() { + cd "$srcdir/$_pkgname" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +shopt -s extglob + +package_reactionary-kde-git() { + provides=('reactionary-kde') + optdepends=('memphis98-icon-theme: Matching icon theme') + + cd $_pkgname + + install -d "${pkgdir}/usr/share" + + mkdir -p "${pkgdir}/usr/share/aurorae" + mkdir -p "${pkgdir}/usr/share/plasma" + mkdir -p "${pkgdir}/usr/share/color-schemes" + + cp -r desktoptheme "${pkgdir}/usr/share/plasma/" + cp -r look-and-feel "${pkgdir}/usr/share/plasma/" + cp -r themes "${pkgdir}/usr/share/aurorae/" + cp -r *(*.colors) "${pkgdir}/usr/share/color-schemes/" +} |