summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 50ca27b02048dffe862a960415a9c2c5cf8d2029 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Maintainer: kormpu mcgpapu@gmail.com 
# Contributor: silverbluep baserdem.batuhan@gmail.com
# Contributor: dctxmei dctxmei@gmail.com
# tested against namcap and clean chroot using extra-x86_64-build

_name=breeze-hacked-cursor-theme
pkgname="${_name}-git"
pkgver=r20.79dcc89
pkgrel=1
pkgdesc="Breeze Hacked cursor theme"
arch=("any")
url="https://github.com/clayrisser/breeze-hacked-cursor-theme.git"
license=("GPL-2.0-only")
makedepends=('gnome-themes-extra' 'inkscape' 'xorg-xcursorgen' 'git')
provides=("${pkgname}")
conflicts=("${pkgname}")
source=("git+${url}")
b2sums=('SKIP')
epoch=1


build() {
    cd "${srcdir}/${_name}"
    make build
}

package() {
    install -dm 0755 "${pkgdir}/usr/share/icons"
    cp -rf "${srcdir}/${_name}/Breeze_Hacked" "${pkgdir}/usr/share/icons"
    chmod -R u=rwX,g=rX,o=rX "${pkgdir}/usr/share/icons/Breeze_Hacked"
}

pkgver() {
	cd "$_name"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}