diff options
author | Dylon Edwards | 2018-04-26 22:06:40 -0700 |
---|---|---|
committer | Dylon Edwards | 2018-04-26 23:15:33 -0700 |
commit | a9294616996c68f313c3d3faed5b0c57517bace6 (patch) | |
tree | 9265fb79ceb91d6a1e036ce1ef7467486bb999e8 | |
download | aur-a9294616996c68f313c3d3faed5b0c57517bace6.tar.gz |
Adds initial .gitignore, PKGBUILD, quartet-git.changelog, and .SRCINFO files for release r2.a99c049
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | .gitignore | 8 | ||||
-rw-r--r-- | PKGBUILD | 33 | ||||
-rw-r--r-- | quartet-git.changelog | 2 |
4 files changed, 60 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0dcc6ef8b367 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = quartet-git + pkgdesc = A tetrahedral mesh generator that does isosurface stuffing with an acute tetrahedral tile. + pkgver = r2.a99c049 + pkgrel = 1 + url = https://github.com/crawforddoran/quartet + changelog = quartet-git.changelog + arch = x86_64 + license = ISC + makedepends = git + makedepends = gcc + provides = quartet-git + conflicts = quartet-git + source = git+https://github.com/crawforddoran/quartet.git + md5sums = SKIP + +pkgname = quartet-git + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..3b174e9d006d --- /dev/null +++ b/.gitignore @@ -0,0 +1,8 @@ +# Blacklist everything by default to avoid accidentally committing something +* + +# Whitelist the following files and directories +!/.SRCINFO +!/.gitignore +!/PKGBUILD +!/quartet-git.changelog
\ No newline at end of file diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..936e6178839f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,33 @@ +# -*- mode: shell-script -*- +# Maintainer: Dylon Edwards <deltaecho at archlinux dot us> + +pkgname='quartet-git' +pkgver=r2.a99c049 +pkgrel=1 +pkgdesc="A tetrahedral mesh generator that does isosurface stuffing with an acute tetrahedral tile." +arch=('x86_64') +url="https://github.com/crawforddoran/quartet" +license=('ISC') +changelog="${pkgname}.changelog" +makedepends=('git' 'gcc') +provides=("${pkgname%-VCS}") +conflicts=("${pkgname%-VCS}") +source=("git+https://github.com/crawforddoran/${pkgname%-git}.git") +md5sums=('SKIP') + +pkgver() { + cd "${srcdir}/${pkgname%-git}" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd "$srcdir/${pkgname%-git}" + make depend + make release +} + +package() { + cd "$srcdir/${pkgname%-git}" + install -m 755 -DT "quartet_release" "${pkgdir}/usr/bin/quartet" + install -m 755 -DT "view_tet_release" "${pkgdir}/usr/bin/view_tet" +} diff --git a/quartet-git.changelog b/quartet-git.changelog new file mode 100644 index 000000000000..059e7e24fce0 --- /dev/null +++ b/quartet-git.changelog @@ -0,0 +1,2 @@ +2018-04-26 Dylon Edwards <deltaecho at archlinux dot us> + * quartet-git r2.a99c049 |