12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- # This is an example PKGBUILD file. Use this as a start to creating your own,
- # and remove these comments. For more information, see 'man PKGBUILD'.
- # NOTE: Please fill out the license field for your package! If it is unknown,
- # then please put 'unknown'.
- # Maintainer: Anas Elgarhy <anas.elgarhy.dev@gmail.com>
- pkgname=jls
- pkgver=0.3.0
- pkgrel=1
- epoch=
- pkgdesc="A modern ls with java."
- arch=('any')
- url="https://github.com/Anas-Elgarhy/jls"
- license=('GPL')
- groups=('java-utils')
- depends=('jdk-openjdk' 'nerd-fonts-fira-code')
- makedepends=()
- checkdepends=()
- optdepends=()
- provides=()
- conflicts=()
- replaces=(jls)
- backup=()
- options=()
- install=
- changelog=
- source=("https://github.com/Anas-Elgarhy/jls/releases/download/$pkgver/$pkgname-$pkgver.tar.gz")
- noextract=()
- md5sums=()
- validpgpkeys=()
- prepare() {
- cd "$pkgname-$pkgver"
- patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
- }
- build() {
- cd "$pkgname-$pkgver"
- ./configure --prefix=/usr
- make
- }
- check() {
- cd "$pkgname-$pkgver"
- make -k check
- }
- package() {
- cd "$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
- }
|