summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Whited2019-01-31 14:02:10 -0600
committerSam Whited2019-01-31 14:02:10 -0600
commit27114024a6b73cd64420b16ef244bd7b1ce4e25c (patch)
tree5988103c9422d1d0ddb12bc03fea6cabcadae401
downloadaur-27114024a6b73cd64420b16ef244bd7b1ce4e25c.tar.gz
Initial commit of version 1.47
-rw-r--r--.SRCINFO14
-rw-r--r--.gitignore5
-rw-r--r--PKGBUILD30
3 files changed, 49 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..5656abc49bb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,14 @@
+pkgbase = anita
+ pkgdesc = A tool for automating NetBSD installs and building VM images.
+ pkgver = 1.47
+ pkgrel = 1
+ url = http://www.gson.org/netbsd/anita/
+ arch = any
+ license = custom
+ makedepends = python-setuptools
+ depends = python2-pexpect
+ source = http://www.gson.org/netbsd/anita/download/anita-1.47.tar.gz
+ sha256sums = c5b33fd99c54caa0f16472700333b0f75674f083e02474af6694b6741efc34b7
+
+pkgname = anita
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..b53c6dff121
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,5 @@
+pkg/
+src/
+*.zip
+*.tar.xz
+*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..88dc9a69965
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Sam Whited <sam@samwhited.com>
+
+pkgname=anita
+pkgver=1.47
+pkgrel=1
+pkgdesc='A tool for automating NetBSD installs and building VM images.'
+arch=('any')
+url='http://www.gson.org/netbsd/anita/'
+license=('custom')
+depends=('python2-pexpect')
+makedepends=('python-setuptools')
+source=("http://www.gson.org/netbsd/anita/download/anita-1.47.tar.gz")
+sha256sums=('c5b33fd99c54caa0f16472700333b0f75674f083e02474af6694b6741efc34b7')
+
+build() {
+ cd $pkgname-$pkgver
+ python2 setup.py build
+}
+
+package() {
+ cd $pkgname-$pkgver
+ install -dm775 "$pkgdir/usr/share/licenses/$pkgname"
+ install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname"
+ python2 setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+
+ # The NetBSD man page isn't in the same location that Arch wants.
+ mv $pkgdir/usr/man $pkgdir/usr/share
+}
+
+# vim:set ts=2 sw=2 et: