diff options
author | Jendrik | 2021-05-21 14:21:54 +0200 |
---|---|---|
committer | Jendrik | 2021-05-21 14:21:54 +0200 |
commit | e43bf8bd081dd595aeaf32ce66f7ffbb64cc2261 (patch) | |
tree | de8528483e626bf6e5e425592439303c2adf44f6 | |
download | aur-wiz-git.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 53 |
3 files changed, 72 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..19e302f242e3 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = wiz-git + pkgdesc = A high-level assembly language for writing homebrew software and games on retro console platforms. + pkgver = r275.972cd9d + pkgrel = 1 + url = https://github.com/wiz-lang/wiz + arch = x86_64 + license = MIT + makedepends = git + provides = wiz-git + conflicts = wiz-git + source = git+https://github.com/wiz-lang/wiz + md5sums = SKIP + +pkgname = wiz-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..10c30681b268 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +/pkg/ +/src/ +/wiz/ +/*.pkg.*
\ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ca2f0790ca9a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Jendrik <rua@jendrik.eu + +pkgname=wiz-git # '-bzr', '-git', '-hg' or '-svn' +pkgver=r275.972cd9d +pkgrel=1 +pkgdesc="A high-level assembly language for writing homebrew software and games on retro console platforms." +arch=('x86_64') +url="https://github.com/wiz-lang/wiz" +license=('MIT') +#groups=() +depends=( + 'gcc-libs' +) +makedepends=( + 'git' +) +provides=("${pkgname%-VCS}") +conflicts=("${pkgname%-VCS}") +#replaces=() +#backup=() +#options=() +#install= +source=('git+https://github.com/wiz-lang/wiz') +#noextract=() +md5sums=('SKIP') + +# Please refer to the 'USING VCS SOURCES' section of the PKGBUILD man page for +# a description of each element in the source array. + +pkgver() { + cd "$srcdir/${pkgname%-git}" +# Git, no tags available +# https://wiki.archlinux.org/title/VCS_package_guidelines#VCS_sources +# If there are no tags then use number of revisions since beginning of the history: + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/${pkgname%-git}" + make -j8 +} + +# check() { +# cd "$srcdir/${pkgname%-git}" +# chmod +x tests/wiztests.sh +# make -j8 tests +# } + +package() { + cd "$srcdir/${pkgname%-git}" + make DESTDIR="$pkgdir" PREFIX=/usr install + install -Dm644 license.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |