summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD25
3 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..15a36392746
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,12 @@
+pkgbase = asm2bf
+ pkgdesc = The only true brainfuck-targetting assembler
+ pkgver = v1.5.4
+ pkgrel = 1
+ url = https://github.com/kspalaiologos/asmbf
+ arch = x86_64
+ license = MIT
+ source = asm2bf-v1.5.4::https://github.com/kspalaiologos/asmbf/archive/refs/tags/v1.5.4.tar.gz
+ sha256sums = e0134790bbec33e72fee7a53d925b0e7f1dee373d1ed471ffc5f6231b1ebee87
+
+pkgname = asm2bf
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..7ccf6ec396a
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+*
+!/PKGBUILD
+!/.gitignore
+!/.SRCINFO
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ce034f68b86
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+
+# Maintainer: Alex Parrill <alex.parrill@col32.net>
+pkgname=asm2bf
+pkgver=v1.5.4
+pkgrel=1
+pkgdesc="The only true brainfuck-targetting assembler"
+arch=('x86_64')
+url="https://github.com/kspalaiologos/asmbf"
+license=('MIT')
+depends=()
+makedepends=()
+optdepends=()
+source=("$pkgname-$pkgver::https://github.com/kspalaiologos/asmbf/archive/refs/tags/$pkgver.tar.gz")
+sha256sums=("e0134790bbec33e72fee7a53d925b0e7f1dee373d1ed471ffc5f6231b1ebee87")
+
+build() {
+ cd "asmbf-${pkgver:1}"
+ ./configure --prefix=/usr --with-target=release
+ make all
+}
+
+package() {
+ cd "asmbf-${pkgver:1}"
+ make DESTDIR="$pkgdir/" install
+}