blob: e49c4a567d7ee3b8ddd2f4fda7d4621f0d17fb84 (
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
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
pkgname=cosmic-icons-git
pkgver=1.0.0.alpha.2.r2.g3fdc217
pkgrel=1
pkgdesc="System76 Cosmic icon theme"
arch=('any')
url="https://github.com/pop-os/cosmic-icons"
license=('CC-BY-SA-4.0 AND GPL-3.0-or-later')
depends=('pop-icon-theme-git')
makedepends=('git' 'just')
provides=("${pkgname%-git}" 'cosmic-icon-theme')
conflicts=("${pkgname%-git}" 'cosmic-icon-theme')
options=('!strip')
source=('git+https://github.com/pop-os/cosmic-icons.git')
sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
git describe --long --tags --abbrev=7 | sed 's/^epoch-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "${pkgname%-git}"
just rootdir="$pkgdir" install
install -Dm644 COPYING LICENSE -t "$pkgdir/usr/share/licenses/${pkgname%-git}/"
}
|