diff options
author | Erik Wallstrom | 2019-04-27 17:50:54 +0200 |
---|---|---|
committer | Erik Wallstrom | 2019-04-27 17:50:54 +0200 |
commit | ab1ea548249b12f9b2025461967f06013d679daf (patch) | |
tree | 7bee40487eff7546aa7061fb7af578935b7ff8cf /PKGBUILD | |
parent | 5743e125b77ba027c324941495d99b9ea22777b3 (diff) | |
download | aur-ab1ea548249b12f9b2025461967f06013d679daf.tar.gz |
Updated to work with new repo and build system
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 31 |
1 files changed, 17 insertions, 14 deletions
@@ -1,13 +1,13 @@ # Maintainer: Erik Wallström <erik.wallstrom@live.com> pkgname=pop-icon-theme-git _pkgname=pop-icon-theme -pkgver="r2148.b1b46e861" +pkgver=r2326.27be527bda pkgrel=1 -pkgdesc="A free and open source SVG icon theme for Linux, based on Paper Icon Set and Papirus." +pkgdesc="An icon theme for Pop!_OS" arch=("any") -url="https://github.com/system76/pop-icon-theme" -license=('GPL2' 'CCPL') -makedepends=("git") +url="https://github.com/pop-os/icon-theme" +license=('CCPL') +makedepends=("git" "meson" "ninja") optdepends=( "gnome-shell" "gnome-flashback" @@ -21,18 +21,21 @@ optdepends=( ) provides=("${_pkgname}") conflicts=("${_pkgname}") -source=("git+https://github.com/system76/pop-icon-theme.git") +source=("${_pkgname}::git+https://github.com/pop-os/icon-theme.git") sha256sums=("SKIP") -#build() { } +pkgver() { + cd ${srcdir}/${_pkgname} + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} -package() { - cd "${_pkgname}" - make DESTDIR="${pkgdir}" install - make DESTDIR="${pkgdir}" post-install +build() { + cd ${srcdir}/${_pkgname} + meson --prefix='/usr' build + ninja -C build } -pkgver() { - cd "${_pkgname}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +package() { + cd ${srcdir}/${_pkgname} + DESTDIR="${pkgdir}" ninja -C build install } |