blob: f57adc953550b64fcca828e1d20951fe089aca9c (
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
37
38
39
40
41
42
43
44
45
46
47
|
# Maintainer: Bas Ammerlaan <steelbas@gmail.com>
_pkgname=acyls-icon-theme
pkgname=${_pkgname}-git
pkgver=412.01a7ae3
pkgrel=1
pkgdesc='Any Color You Like Simple icon pack'
arch=('any')
url='https://github.com/worron/ACYLS'
license=('GPL')
depends=('gtk-update-icon-cache')
makedepends=('git')
conflicts=("${_pkgname}")
provides=("${_pkgname}")
replaces=("${_pkgname}")
options=('!strip')
source=('git+https://github.com/worron/ACYLS.git')
sha256sums=('SKIP')
install=${_pkgname}.install
pkgver() {
cd ${srcdir}/ACYLS
echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
}
package() {
install -dm 755 "$pkgdir"/usr/share/icons
cp -dr --no-preserve='ownership' ACYLS "$pkgdir"/usr/share/icons/
# Make the GUI program starting script refer to /usr/share/icons instead of ~/.icons:
# sed 's:~/.icons:/usr/share/icons:' "$pkgdir"/usr/share/icons/ACYLS/desktop/acyls.desktop > "$pkgdir"/usr/share/icons/ACYLS/desktop/acyls.desktop_tmp
# mv "$pkgdir"/usr/share/icons/ACYLS/desktop/acyls.desktop_tmp "$pkgdir"/usr/share/icons/ACYLS/desktop/acyls.desktop
# Copy .desktop file
# mkdir "$pkgdir"/usr/share/applications/
# cp --no-preserve='ownership' "$pkgdir"/usr/share/icons/ACYLS/desktop/acyls.desktop "$pkgdir"/usr/share/applications/
# Fix permissions
find "${pkgdir}"/usr/share/icons/ -type d -exec chmod 755 {} \;
find "${pkgdir}"/usr/share/icons/ -type f -exec chmod 644 {} \;
}
|