summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavidyz2023-11-11 04:36:39 +0000
committerDavidyz2023-11-11 04:36:39 +0000
commit8b5a88cd4a275a8767805cd25d303ecad2e57d01 (patch)
treeca848ed0d2b3bc4e510cd52c2bf72a41e13360ea
parent5888ad45cb16593c8607ed7a30151c31907a4cbf (diff)
downloadaur-plymouth-theme-550w-git.tar.gz
Fix bug caused by package name.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 4 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 18e3222842b8..4715ade036a8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,4 +1,4 @@
-pkgbase = plymouth-theme-550w
+pkgbase = plymouth-theme-550w-git
pkgdesc = A Plymouth theme for the 550W from movie The Wandering Earth.
pkgver = 0.1
pkgrel = 1
@@ -9,4 +9,4 @@ pkgbase = plymouth-theme-550w
source = git+https://github.com/Davidyz/plymouth-theme-550w.git
md5sums = SKIP
-pkgname = plymouth-theme-550w
+pkgname = plymouth-theme-550w-git
diff --git a/PKGBUILD b/PKGBUILD
index a1dd12b84608..0ef8c2ae55e3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
# Maintainer: Davidyz (hzjlyz@gmail.com)
-pkgname=plymouth-theme-550w
+pkgname=plymouth-theme-550w-git
pkgver=0.1
pkgrel=1
pkgdesc="A Plymouth theme for the 550W from movie The Wandering Earth."
@@ -12,7 +12,7 @@ md5sums=("SKIP") #generate with 'makepkg -g'
install=plymouth-theme-550w.install
package() {
- cd "$pkgname"
+ cd "${pkgname//-git/}"
mkdir -p $pkgdir/usr/share/plymouth/themes/550w/
install -Dm755 assets/* $pkgdir/usr/share/plymouth/themes/550w
}