blob: cca26b02328519ba0efe309e64840117c3852150 (
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
|
# Maintainer: Edgard Castro <castro@edgard.org>
# Contributor: Frederic Bezies <fredbezies at gmail dot com>
# Contributor: FadeMind <fademind@gmail.com>
# Contributor: Icaro Perseo <icaroperseo[at]protonmail[dot]com>
# Contributor: Lucas SaliƩs Brum <lucas@archlinux.com.br>
pkgname=papirus-icon-theme-git
pkgver=r478.2cb684c
pkgrel=1
pkgdesc="Papirus icon theme (git version)"
url="https://github.com/PapirusDevelopmentTeam/${pkgname%-git}"
arch=('any')
license=('LGPL3')
makedepends=('git')
provides=("${pkgname%-git}")
conflicts=(
"${pkgname%-git}"
"papirus-gtk-icon-theme"
"papirus-gtk-icon-theme-git"
"papirus-icon-theme-gtk"
"papirus-icon-theme-gtk-git"
"papirus-icon-theme-kde"
"papirus-icon-theme-kde-git"
)
replaces=(
"papirus-icon-theme-gtk-git"
"papirus-icon-theme-kde-git"
)
options=('!strip')
source=("${pkgname}::git+${url}.git")
sha256sums=('SKIP')
pkgver() {
cd "${srcdir}/${pkgname}"
( set -o pipefail
git describe --long --tag | sed -r 's/([^-]*-g)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
) 2>/dev/null
}
package() {
cd "${srcdir}/${pkgname}"
install -dm 755 "${pkgdir}"/usr/share/icons
cp -dr --no-preserve='ownership' Papirus{,-Dark} "${pkgdir}"/usr/share/icons/
}
|