summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorj.r2020-11-03 09:55:05 +0100
committerj.r2020-11-03 10:10:48 +0100
commitac4ab4ba4ab0e24b535a9bdbd1cfc02b012eda35 (patch)
tree87ecb443493daf7823b925f7b246cfb4840b5c97
parent2822a6aded3238f0e7b9c589f941af86f9557010 (diff)
downloadaur-ac4ab4ba4ab0e24b535a9bdbd1cfc02b012eda35.tar.gz
Change to use make for compiling/installing
-rw-r--r--PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 796e164b1c3..de0ebb3e089 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -13,16 +13,19 @@ depends=('gnome-shell')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/phocean/TopIcons-plus/archive/${pkgver}.tar.gz")
sha256sums=('51c94aa52dd19e9f3740fee9580e47961414d7aec63dd588cb9c067cef8f4ad8')
+build(){
+ cd "${srcdir}/TopIcons-plus-${pkgver}"
+
+ make build
+}
+
package() {
- _uuid='TopIcons@phocean.net'
-
cd "${srcdir}/TopIcons-plus-${pkgver}"
- install -d "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}"
+ make install INSTALL_PATH=${pkgdir}/usr/share/gnome-shell/extensions
+
install -Dm644 "schemas/org.gnome.shell.extensions.topicons.gschema.xml" \
-t "${pkgdir}/usr/share/glib-2.0/schemas/"
-
- cp -af * "${pkgdir}/usr/share/gnome-shell/extensions/${_uuid}"
}
# vim:set ts=2 sw=2 et: