diff options
author | Mark Wagie | 2020-04-05 08:44:58 -0600 |
---|---|---|
committer | Mark Wagie | 2020-04-05 08:44:58 -0600 |
commit | e8a5f2902fac2b1df9d7b47acaf2b98d58f18a41 (patch) | |
tree | 4a47bfdf9a46e7cf4c042a70fb7f0eef6da8390b | |
parent | 11ce6c8fbc491b50cd8683b2318f76d897c086b6 (diff) | |
download | aur-e8a5f2902fac2b1df9d7b47acaf2b98d58f18a41.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | .gitignore | 9 | ||||
-rw-r--r-- | PKGBUILD | 35 |
3 files changed, 32 insertions, 24 deletions
@@ -1,13 +1,17 @@ pkgbase = tela-icon-theme-git - pkgdesc = A flat colorful Design icon theme. - pkgver = 143.fc478cfa + pkgdesc = A flat colorful design icon theme. + pkgver = 2020.02.21.r18.gdc435c8b pkgrel = 1 - url = https://github.com/vinceliuice/Tela-icon-theme + url = https://www.pling.com/p/1279924 arch = any license = GPL3 makedepends = git + depends = hicolor-icon-theme + depends = gtk-update-icon-cache + provides = tela-icon-theme + conflicts = tela-icon-theme options = !strip - source = git+https://github.com/vinceliuice/Tela-icon-theme.git + source = tela-icon-theme::git+https://github.com/vinceliuice/Tela-icon-theme.git sha256sums = SKIP pkgname = tela-icon-theme-git diff --git a/.gitignore b/.gitignore index e2aaebb8f4ca..4dab8d6386e3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,7 @@ -.vscode/* -Tela-icon-theme/* +# Ignore everything +* + +# But not these files... +!.gitignore +!PKGBUILD +!.SRCINFO @@ -1,29 +1,28 @@ -# Maintainer: Robosky <fangyuhao0612@gmail.com> - +# Maintainer: Mark Wagie <mark dot wagie at tutanota dot com> +# Contributor: Robosky <fangyuhao0612@gmail.com> pkgname=tela-icon-theme-git -_gitname=Tela-icon-theme -pkgdesc="A flat colorful Design icon theme." -pkgver=143.fc478cfa +pkgver=2020.02.21.r18.gdc435c8b pkgrel=1 +pkgdesc="A flat colorful design icon theme." arch=('any') -url="https://github.com/vinceliuice/${_gitname}" +url="https://www.pling.com/p/1279924" license=('GPL3') -source=("git+${url}.git") -sha256sums=('SKIP') -options=('!strip') +depends=('hicolor-icon-theme' 'gtk-update-icon-cache') makedepends=('git') +provides=("${pkgname%-git}") +conflicts=("${pkgname%-git}") +options=('!strip') +source=("${pkgname%-git}::git+https://github.com/vinceliuice/Tela-icon-theme.git") +sha256sums=('SKIP') pkgver() { - cd "${srcdir}/${_gitname}" - echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) + cd "$srcdir/${pkgname%-git}" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } package() { - cd "${srcdir}/${_gitname}" - install -dm755 "${pkgdir}/"usr/share/icons - sed -i '/gtk-update-icon-cache/d' install.sh - ./install.sh \ - -a \ - -d "${pkgdir}"/usr/share/icons + cd "$srcdir/${pkgname%-git}" + install -d "$pkgdir/usr/share/icons" + ./install.sh -a -d "$pkgdir/usr/share/icons" } - + |