summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 8383f4407b928c1220cd2c6c8df346e80639fa49 (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
# Maintainer: Tony Lambiris <tony@libpcap.net>
pkgname=breeze-adapta-cursor-theme-git
_pkgname=Breeze-Adapta-Cursor
pkgver=r34.72ffeff
pkgrel=2
pkgdesc="Popular Breeze Cursor modified for Adapta theme."
arch=('any')
url="https://github.com/mustafaozhan/Breeze-Adapta-Cursor"
license=('GPL')
source=("git+https://github.com/mustafaozhan/Breeze-Adapta-Cursor")
makedepends=('git' 'unzip')
conflicts=('breeze-adapta-cursor-theme' 'xcursor-breeze-adapta')
provides=('breeze-adapta-cursor-theme' 'xcursor-breeze-adapta')
sha256sums=('SKIP')

pkgver() {
	cd "${srcdir}/${_pkgname}"

	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "${srcdir}/${_pkgname}"

    install -d $pkgdir/usr/share/icons/Breeze-Adapta-Cursor
    cp -rf * $pkgdir/usr/share/icons/Breeze-Adapta-Cursor

    chmod -R 644 $pkgdir/usr/share/icons/Breeze-Adapta-Cursor/*
    chmod 755 $pkgdir/usr/share/icons/Breeze-Adapta-Cursor
    chmod 755 $pkgdir/usr/share/icons/Breeze-Adapta-Cursor/cursors
}