PKGBUILD 762 B

123456789101112131415161718192021222324
  1. # Maintainer: Anas Elgarhy <anas.elgarhy.dev@gmail.com>
  2. pkgname=archy-slstatus
  3. pkgver=1.0.0
  4. pkgrel=1
  5. pkgdesc="A suckless status monitor for archy linux"
  6. url="https://github.com/archy-linux/$pkgname"
  7. arch=('i686' 'x86_64')
  8. license=('MIT')
  9. options=()
  10. depends=()
  11. install=
  12. provides=("$pkgname")
  13. conflicts=("$pkgname")
  14. source=("https://github.com/archy-linux/$pkgname/archive/refs/tags/$pkgname_$pkgver.tar.gz")
  15. sha256sums=('d7414e26f06ee565337791d75a502760a00ebff46319be636c150a3c3d78275d')
  16. package() {
  17. cd "$pkgname_$pkgver" || exit 1
  18. # shellcheck disable=SC2154
  19. install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname"
  20. install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  21. install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
  22. }