diff options
author | Philip Goto | 2016-09-05 20:20:01 +0200 |
---|---|---|
committer | Philip Goto | 2016-09-05 20:20:01 +0200 |
commit | c385add53779fd5a2070222ee11dc791ef281dce (patch) | |
tree | e8e28300df84324bedd2aa4cb5350c155e86b1f9 /PKGBUILD | |
download | aur-c385add53779fd5a2070222ee11dc791ef281dce.tar.gz |
Initialize mato-icons-git package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b06400cb04f6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: Philip Goto +pkgname=mato-icons-git +pkgver=6e62401 +pkgrel=1 +pkgdesc="Mato is a Material Design inspired icon theme for Linux. It features simple and modern icons based on the official icons." +arch=('any') +url="https://github.com/flipflop97/Mato" +license=('Creative Commons Attribution-ShareAlike 4.0 International Public License') +makedepends=('git') +provides=('mato-icons-git') +options=(!strip !emptydirs) +install='mato-icons-git.install' +source=("${pkgname}::git+https://github.com/flipflop97/Mato.git") +sha256sums=('SKIP') + +pkgver() { + cd "${pkgname}" + git rev-parse --short HEAD +} + +package() { + install -dm 755 "${pkgdir}"/usr/share/icons + + mkdir "${pkgdir}"/usr/share/icons/Mato + + cp -dr --no-preserve='ownership' "${pkgname}"/* "${pkgdir}"/usr/share/icons/Mato + rm "${pkgdir}"/usr/share/icons/Mato/install.sh + +} |