paper-gtk-theme: Add PKGBUILD

This commit is contained in:
Les De Ridder 2017-11-04 03:50:53 +01:00
parent 7fb398d9bb
commit eedd4291cd
2 changed files with 40 additions and 0 deletions

3
paper-gtk-theme/.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
*
!.gitignore
!PKGBUILD

37
paper-gtk-theme/PKGBUILD Normal file
View File

@ -0,0 +1,37 @@
# Maintainer: Les De Ridder <les@lesderid.net>
pkgname=paper-gtk-theme-git-lesderid
_pkgname=paper-gtk-theme
pkgver=302.9ed83d2
pkgrel=1
pkgdesc="A modern desktop theme suite. Its design is mostly flat with a minimal use of shadows for depth."
arch=('any')
url="https://snwh.org/paper"
license=('GPL3')
optdepends=("gtk-engine-murrine: gtk2 bindings"
"gtk3: gtk3 bindings")
# Optional dependencies for developers
#optdepends=("python: scripts to simplify the rendering process"
# "inkscape: recommended editing software for theme assets")
makedepends=('git')
provides=("${_pkgname}=${pkgver}")
conflicts=("${_pkgname}")
source=("${_pkgname}"::"git+https://git.fuwafuwa.moe/lesderid/${_pkgname}.git")
sha512sums=('SKIP')
pkgver() {
cd "${srcdir}/${_pkgname}"
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
build() {
cd "${srcdir}/${_pkgname}"
chmod +x ./autogen.sh
./autogen.sh
make
}
package() {
make -C "${srcdir}/${_pkgname}" DESTDIR="${pkgdir}" install
}