Files
omarchy-pkgs/pkgbuilds/omazed/PKGBUILD
T

26 lines
864 B
Bash

pkgname=omazed
pkgver=2.0.1
pkgrel=1
pkgdesc="Live theme switching for Zed in Omarchy - automatically synchronize your Zed editor theme with your Omarchy system theme"
arch=('any')
url="https://github.com/aps6/omazed"
license=('MIT')
depends=('bash')
makedepends=('git')
backup=()
install=omazed.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/aps6/$pkgname/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('23bb13c1d6de313230d6c4edb5a813eec004d4374dfbf3f9a185d268ed6a3602')
package() {
cd "$srcdir/$pkgname-$pkgver"
# Install main scripts
install -Dm755 omazed "$pkgdir/usr/bin/omazed"
install -Dm755 omazed-generator.sh "$pkgdir/usr/bin/omazed-generator.sh"
install -Dm644 omazed-theme.tpl "$pkgdir/usr/bin/omazed-theme.tpl"
# Install documentation
install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}