blob: c4b142238dd3358dd1b8832074691db19feee4c6 (
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: Mark Wagie <mark dot wagie at proton dot me>
pkgname=cosmic-wallpapers-git
pkgver=1.0.0.alpha.3.r0.gcb8e6d6
pkgrel=1
pkgdesc="Wallpapers for the COSMIC Desktop Environment"
arch=('any')
url="https://github.com/pop-os/cosmic-wallpapers"
license=('CC-BY-4.0 AND LicenseRef-custom')
makedepends=('git' 'git-lfs')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('git+https://github.com/pop-os/cosmic-wallpapers.git')
sha256sums=('SKIP')
pkgver() {
cd "${pkgname%-git}"
git describe --long --tags --abbrev=7 | sed 's/^epoch-//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${pkgname%-git}"
git lfs install --local
git remote add network-origin https://github.com/pop-os/cosmic-wallpapers
git lfs fetch network-origin
git lfs checkout
}
package() {
cd "${pkgname%-git}"
make DESTDIR="$pkgdir" install
}
|