# # Copyright (C) 2018 CASM Organization # All rights reserved. # # Developed by: Philipp Paulweber # # # This file is part of casm-lang.pkg.aur. # # casm-lang.pkg.aur is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # casm-lang.pkg.aur is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with casm-lang.pkg.aur. If not, see . # # Maintainer: Philipp Paulweber pkgname=casm pkgver=0.1.0 pkgrel=1 pkgdesc="Corinthian Abstract State Machine (CASM)" arch=('x86_64') url="https://casm-lang.org" license=('GPL3') groups=('casm') # depends=() # makedepends=() # checkdepends=() # optdepends=() provides=( "${pkgname}") conflicts=("${pkgname}") # replaces=() # backup=() # options=() # install= # changelog= # source=("$pkgname-$pkgver.tar.gz" # "$pkgname-$pkgver.patch") # noextract=() # md5sums=() sha256sums=('6b2dba143753ef3b1e3b42669f4e67baa10a85e95a792f90de79b3a516e552c4') # validpgpkeys=() source=("$pkgname-$pkgver.tar.gz::https://github.com/casm-lang/casm/releases/download/${pkgver}/${pkgname}-linux-$CARCH.tar.gz") # prepare() { # cd "$pkgname-$pkgver" # patch -p1 -i "$srcdir/$pkgname-$pkgver.patch" # } build() { cd "$pkgname-$pkgver" file bin/* } # check() { # cd "$pkgname-$pkgver" # make -k check # } package() { cd "$pkgname-$pkgver" mkdir -p ${pkgdir}/usr cp -r ./* ${pkgdir}/usr/ }