tiny-cpp/PKGBUILD
2025-06-17 21:51:49 -03:00

25 lines
610 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

pkgname=tiny
pkgver=1.0
pkgrel=1
pkgdesc="tiny script runner"
arch=('x86_64')
url="https://example.com"
license=('AGPLv3')
depends=('bash')
makedepends=('cmake' 'gcc')
source=("https://github.com/J-K-Tech/${pkgname}/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('SKIP') # Change to proper checksum later
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake -DCMAKE_INSTALL_PREFIX=/usr .
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
# ✅ Install the license manually if upstream doesnt
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}