diff options
author | Victor Tran | 2021-08-02 17:19:36 +1000 |
---|---|---|
committer | Victor Tran | 2021-08-02 17:19:36 +1000 |
commit | c995c09d03a441bf5b03cf39c006faf055867a27 (patch) | |
tree | 93f355f449d2c66de9f8a44d370b51aec1fbc43c /PKGBUILD | |
parent | c1974c3cdb6e5f9b188ced03be244ae01e610b27 (diff) | |
download | aur-plymouth-theme-bgrt-cactus.tar.gz |
Update PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,6 +1,6 @@ # Maintainer: Victor Tran <vicr12345 at gmail dot com> pkgname=plymouth-theme-bgrt-cactus -pkgver=20200711 +pkgver=20210802 pkgrel=1 pkgdesc="Plymouth theme with Cactus branding" arch=("x86_64") @@ -8,14 +8,16 @@ depends=('plymouth' 'ttf-contemporary') makedepends=('git') url="https://vicr123.com/cactus" license=('GPL3') -source=('git+https://github.com/vicr123/bgrt-cactus.git') +source=("$pkgname-repo"::'git+https://github.com/vicr123/bgrt-cactus.git') sha256sums=('SKIP') pkgver() { + cd "$pkgname-repo" git log -1 --format="%at" | xargs -I{} date -d @{} +%Y%m%d } package() { + cd "$pkgname-repo" mkdir -p $pkgdir/usr/share/plymouth/themes/bgrt-cactus/ - cp bgrt-cactus/* $pkgdir/usr/share/plymouth/themes/bgrt-cactus/ + cp * $pkgdir/usr/share/plymouth/themes/bgrt-cactus/ } |