summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiotr2024-01-28 17:01:42 +0100
committerpiotr2024-01-28 17:01:42 +0100
commita1e33a6d0a893fe03cc5b7042c680211e994af4d (patch)
treeee524a48d4548762b70713cee8e1cee03eaaf573
parent86ae85c80b9b2dd42bbf12b65c062f7af9952d2d (diff)
downloadaur-a1e33a6d0a893fe03cc5b7042c680211e994af4d.tar.gz
fix install paths
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3f326a1c998e..c6c549e89fb3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = nwg-shell-wallpapers
pkgdesc = nwg-shell wallpapers package
pkgver = 0.1.4
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/nwg-piotr/nwg-shell-wallpapers
arch = any
license = CC0-1.0
diff --git a/PKGBUILD b/PKGBUILD
index 4427055f6e14..590dc3f79449 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=('nwg-shell-wallpapers')
pkgver=0.1.4
-pkgrel=2
+pkgrel=3
pkgdesc="nwg-shell wallpapers package"
arch=('any')
url="https://github.com/nwg-piotr/nwg-shell-wallpapers"
@@ -15,10 +15,10 @@ source=("$pkgname-$pkgver.tar.gz::https://github.com/nwg-piotr/nwg-shell-wallpap
md5sums=('7aa66923cd9656570c750e3b5975de7e')
package() {
- cd "$srcdir"
+ cd "${pkgname}-${pkgver}"
install -d "$pkgdir"/usr/share/backgrounds/nwg-shell
- install -Dm644 "$pkgname"-"$pkgver"/wallpapers/* $pkgdir/usr/share/backgrounds/nwg-shell/
+ install -D -t "$pkgdir"/usr/share/backgrounds/nwg-shell wallpapers/*
install -D -t "$pkgdir"/usr/share/licenses/"$pkgname" LICENSE
install -D -t "$pkgdir"/usr/share/doc/"$pkgname" README.md
}