diff options
author | PQCraft | 2022-05-05 21:58:54 -0400 |
---|---|---|
committer | PQCraft | 2022-05-05 21:58:54 -0400 |
commit | 9881429ffb0a7901dad1497b2d2c621dd7b1b819 (patch) | |
tree | 8b272221064f8c155db6ab57716c5b9ca7362762 | |
download | aur-9881429ffb0a7901dad1497b2d2c621dd7b1b819.tar.gz |
bcbasic
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 31 |
3 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..6a2e809e9b29 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = bcbasic + pkgdesc = ByteCodeBASIC + pkgver = 0.1.2 + pkgrel = 1 + url = https://github.com/PQCraft/BCBASIC + arch = x86_64 + arch = i686 + arch = pentium4 + arch = arm + arch = armv6h + arch = armv7h + arch = aarch64 + license = GPL3 + makedepends = make + makedepends = readline + depends = readline + conflicts = bcbasic-bin + source = bcbasic-0.1.2-1.tar.gz::https://github.com/PQCraft/BCBASIC/archive/refs/tags/0.1.2.tar.gz + sha256sums = SKIP + +pkgname = bcbasic diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..e4f9ba3007cf --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.SRCINFO +!PKGBUILD +!.gitignore diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..8d58e487ab0c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: PQCraft <0456523@gmail.com> + +pkgname=bcbasic +ghpkgname=BCBASIC +pkgver=0.1.2 +pkgrel=1 +pkgdesc="ByteCodeBASIC" +arch=(x86_64 i686 pentium4 arm armv6h armv7h aarch64) +url="https://github.com/PQCraft/${ghpkgname}" +license=(GPL3) +depends=('readline') +makedepends=('make' 'readline') +conflicts=(bcbasic-bin) +source=("${pkgname}-${pkgver}-${pkgrel}.tar.gz::https://github.com/PQCraft/${ghpkgname}/archive/refs/tags/${pkgver}.tar.gz") +sha256sums=('SKIP') + +build() { + cd "${srcdir}/${ghpkgname}-${pkgver}/" + make -j$(nproc) build +} + +check() { + cd "${srcdir}/${ghpkgname}-${pkgver}/" + [ -f ./bcbasic ] +} + +package() { + cd "${srcdir}/${ghpkgname}-${pkgver}/" + install -Dm755 bcbasic -t "${pkgdir}/usr/bin/" +} + |