summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel M. Capella2018-02-27 23:20:35 -0500
committerDaniel M. Capella2018-02-27 23:20:35 -0500
commitbd1b1cf70e4c7bf3ec704221081e71a0517dc884 (patch)
treeae95292936266f2ccb30aed8fd80724d8c2d0678 /PKGBUILD
downloadaur-bd1b1cf70e4c7bf3ec704221081e71a0517dc884.tar.gz
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fd1ee69b9f2
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Daniel M. Capella <polycitizen@gmail.com>
+
+pkgname=mwic
+pkgver=0.7.4
+pkgrel=1
+pkgdesc='Misspelled Words In Context'
+arch=('any')
+url=https://github.com/jwilk/mwic
+license=('MIT')
+depends=('python-pyenchant' 'python-regex')
+makedepends=('python-docutils')
+checkdepends=('aspell-en' 'python-nose')
+source=("mwic-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('c9ee668c2f0ef6a99dbdfb4b0560a69c408421e90c932f39b63cd11c97e35653f6615d134d9d4a9202f9cd7921b913813d6fca00b38bd29bf7c01cfa90c89963')
+
+prepare() {
+ cd mwic-$pkgver
+ make -C doc
+}
+
+check() {
+ cd mwic-$pkgver
+ make test
+}
+
+package() {
+ cd mwic-$pkgver
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/mwic/LICENSE
+}
+
+# vim:set ts=2 sw=2 et: