summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 51b1fa323aca051f5adcac0bab0c7612fe6e2588 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: lmartinez-mirror
pkgname=fish-ayu-theme
pkgver=2.0.0
pkgrel=2
pkgdesc="ayu color theme for Fish shell"
arch=('any')
url="https://github.com/edouard-lopez/ayu-theme.fish"
license=('unknown')
groups=('fish-plugins')
depends=('fish')
install="$pkgname.install"
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('a1b65ee89ec513f4d062a643d9220fa3f9debc1b6ff5387252f4eeafd208ca71')

prepare() {
  test -d "$pkgname-$pkgver" || mv "ayu-theme.fish-$pkgver" "$pkgname-$pkgver"
}

package() {
  cd "$pkgname-$pkgver"
  find conf.d -type f -exec install -Dm 644 '{}' "$pkgdir/etc/fish/{}" \;
  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname/"
}