aports/testing/theme.sh/APKBUILD

29 lines
802 B
Text

# Contributor: Hugo Osvaldo Barrera <hugo@whynothugo.nl>
maintainer="Hugo Osvaldo Barrera <hugo@whynothugo.nl>"
pkgname=theme.sh
pkgver=1.1.5
pkgrel=0
pkgdesc="Script to change the terminal theme"
url="https://github.com/lemnos/theme.sh"
arch="noarch"
license="MIT"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/lemnos/theme.sh/archive/refs/tags/v$pkgver.tar.gz"
build() {
make all
}
check() {
# Check that is runs okay:
./bin/theme.sh -l > /dev/null
}
package() {
install -Dm 755 bin/theme.sh "$pkgdir/usr/bin/theme.sh"
install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/theme.sh/LICENSE"
}
sha512sums="
819b6154d70f4539e815072ed7da3c2d413301f4c721721e246331d95ceb0e83fbcdbc8b9853477397a0437519aef461dfed726de4910572fa2d26834d6f1ac1 theme.sh-1.1.5.tar.gz
"