diff options
author | Gustavo Reis | 2019-02-13 20:17:59 -0200 |
---|---|---|
committer | Gustavo Reis | 2019-02-13 20:17:59 -0200 |
commit | c01952f51c67ea581fd2f6b38e66f7b048a9b2f4 (patch) | |
tree | 27dbfec01f50b35d09bcb12519d492c1483d8cca /PKGBUILD | |
parent | e16b48eeddfd0e18edafbb599f652e130152a90d (diff) | |
download | aur-c01952f51c67ea581fd2f6b38e66f7b048a9b2f4.tar.gz |
Upgraded from Suru++ 25
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 12 insertions, 16 deletions
@@ -1,32 +1,28 @@ -# Contributor: Daniel Miranda <dmiranda at gmail dot com> -# Maintainer: Gustavo Costa <gusbemacbe@gmail.com> +# Contributor: Daniel Miranda (dmiranda) +# Contributor: Fabio ‘Lolix’ Loli <lolix at disroot dot org> +# Contributor: Jonathon <jonathonf> +# Maintainer: Gustavo Costa (gusbemacbe) -_gitname=suru-plus-dark pkgname=suru-plus-dark-git -pkgver=r1.1 +pkgver=25.0 pkgrel=1 -pkgdesc="A dark and elegant third-party icons, based on Sam Hewitt's Suru Icons" +pkgdesc="Suru++ 25 Dark – A full dark cyberpunk third-party icons theme!" arch=('any') -url="https://github.com/gusbemacbe/${_gitname}" +url="https://github.com/gusbemacbe/${pkgname/-git/}" license=('GPL3') +changelog=CHANGELOG makedepends=('git') -options=('!strip') -conflicts=(${_gitname}) +conflicts=(${pkgname/-git/}) +provides=(${pkgname/-git/}) source=("git+${url}.git") sha256sums=('SKIP') pkgver() { - cd ${_gitname} - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" + git -C ${pkgname/-git/} describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//' } package() { - install -d ${pkgdir}/usr/share/icons - cp -r ${srcdir}/${_gitname}* ${pkgdir}/usr/share/icons/ - find ${pkgdir}/usr -type f -exec chmod 644 {} \; - find ${pkgdir}/usr -type d -exec chmod 755 {} \; - find ${pkgdir}/usr -type f -name '.directory' -delete - rm -rf "$pkgdir"/usr/share/icons/suru-plus-dark/{configure, .git, .github, .gitattributes, .gitignore,*.md,*.jpg,*.svg,*.png, .product, 'nuove icone', 'Suru++ OpenDesktop'} + make -C ${pkgname/-git/} DESTDIR="$pkgdir/" install } |