summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorSimon Eriksson2020-05-10 13:50:20 +0200
committerSimon Eriksson2020-05-10 13:50:20 +0200
commit37929f6920f804fb5e7b1c3fec656e74897a45d8 (patch)
tree9e1a421f37c5b20117a4dc3548ddf24a9da6451f /PKGBUILD
downloadaur-37929f6920f804fb5e7b1c3fec656e74897a45d8.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..58600104b30
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Simon Eriksson <simon.eriksson.1187+aur AT gmail.com>
+
+pkgname=armips
+pkgver=0.11.0
+pkgrel=1
+pkgdesc='An assembler for various ARM and MIPS platforms'
+arch=('x86_64')
+url='https://github.com/Kingcom/armips'
+license=('MIT')
+makedepends=('git' 'cmake')
+depends=('gcc-libs')
+source=("https://github.com/Kingcom/armips/archive/v${pkgver}.tar.gz")
+sha256sums=('c94e29dfda3bdf853590d825562b9c73a3d8e8e995555e021c6b2a6451572681')
+
+prepare() {
+ cd "$srcdir"/armips-0.11.0
+ mkdir -p build
+}
+
+build() {
+ cd "$srcdir"/armips-0.11.0/build
+ cmake -DCMAKE_BUILD_TYPE=Release ..
+ make armips-bin
+}
+
+package() {
+ cd "$srcdir"/armips-0.11.0
+ install -Dm755 build/armips "$pkgdir"/usr/bin/armips
+ install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}