blob: 8098d015eab2c4038ab6a262588e0266725ca35a (
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
|
# Maintainer: Cahian Freire <cahianfreire at gmail dot com>
_author="cbrnix"
_gitname="Newaita-reborn"
pkgname=newaita-reborn-icons-git
pkgver=r88.5b19f46a
pkgrel=1
pkgdesc="Remaster Newaita icon theme"
arch=("any")
url="https://github.com/${_author}/${_gitname}"
license=("GPL3")
makedepends=("git" "rsync")
provides=("${pkgname%-icons-git}" "${pkgname%-git}")
conflicts=("${pkgname%-icons-git}" "${pkgname%-git}")
options=("!strip") # Increase package creation performance
source=("git+${url}.git")
md5sums=("SKIP")
pkgver() {
cd "${srcdir}/${_gitname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "${srcdir}/${_gitname}"
mkdir -p "${pkgdir}/usr/share/icons"
# We are using --no-i-r to show more accurate values in the progress output
rsync -ahrH --no-i-r --info=progress2 [Nn]ewaita* "${pkgdir}/usr/share/icons"
find "${pkgdir}" -type f -exec chmod 644 "{}" \+
find "${pkgdir}" -type d -exec chmod 755 "{}" \+
}
|