diff options
author | Philip Goto | 2018-07-31 22:03:07 +0200 |
---|---|---|
committer | Philip Goto | 2018-07-31 22:03:07 +0200 |
commit | e0ba95907f7f4fd9acccf52d743acb4652372ba3 (patch) | |
tree | ecd72d41cc97e914f99fc9869c479776ec9f5f35 | |
parent | 53ec49f7760ec563bbb1f25d915e0eea53959f27 (diff) | |
download | aur-e0ba95907f7f4fd9acccf52d743acb4652372ba3.tar.gz |
Update to new install method
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 10 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = mato-icons-git pkgdesc = Mato is a Material Design inspired icon theme for Linux. It features simple and modern icons based on the official icons. - pkgver = latest + pkgver = v1.4.r69.g80ec020 pkgrel = 1 url = https://flipflop97.github.io/Mato/ arch = any @@ -1,6 +1,6 @@ # Maintainer: Philip Goto <philip.goto@gmail.com> pkgname=mato-icons-git -pkgver=latest +pkgver=v1.4.r69.g80ec020 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') @@ -17,7 +17,13 @@ pkgver() { git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' } +build() { + cd "${pkgname}" + make +} + package() { - install -dm 755 "${pkgdir}"/usr/share/icons/Mato - cp -dr --no-preserve='ownership' "${pkgname}"/* "${pkgdir}"/usr/share/icons/Mato + cd "${pkgname}" + export INSTALL_DIR="${pkgdir}/usr/share/icons/" + make install } |