diff options
author | mynacol | 2021-02-05 21:15:22 +0100 |
---|---|---|
committer | mynacol | 2021-02-05 22:00:33 +0100 |
commit | f522e62e47c2ca1232a07498a0e57516cdcb66b0 (patch) | |
tree | 12070e4b1702b815c676f4a79d4b652f2b9f81b3 | |
parent | ccde96687b6c833fa45931812fdb8040c6737bf2 (diff) | |
download | aur-f522e62e47c2ca1232a07498a0e57516cdcb66b0.tar.gz |
Fix build issues
Do not get remote repository.
Do not try to version with git (for now).
-rw-r--r-- | PKGBUILD | 15 |
1 files changed, 5 insertions, 10 deletions
@@ -1,7 +1,7 @@ # Maintainer: mynacol <paul àt dismail _ de> pkgname=theme-switcher-git -pkgver=r. +pkgver=0.1 pkgrel=1 pkgdesc="Switching between light and dark themes made easy" arch=('any') @@ -15,18 +15,13 @@ optdepends=( 'feh: for setting wallpaper under Xorg' 'sway: for setting wallpaper in sway' ) -makedepends=('git') +makedepends=('coreutils') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") -source=("${pkgname%-git}::git+https://aur.archlinux.org/${pkgname}.git") +source=('dark-theme.sh') sha256sums=('SKIP') -pkgver() { - cd "$srcdir/${pkgname%-git}" - printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" -} - package() { - cd "$srcdir/${pkgname%-git}" - install -Dm755 dark-mode.sh "$pkgdir/usr/bin/${pkgname%-git}" + cd "$srcdir" + install -Dm755 dark-theme.sh "$pkgdir/usr/bin/${pkgname%-git}" } |