diff options
author | Daniel M. Capella | 2018-02-27 23:20:35 -0500 |
---|---|---|
committer | Daniel M. Capella | 2018-02-27 23:20:35 -0500 |
commit | bd1b1cf70e4c7bf3ec704221081e71a0517dc884 (patch) | |
tree | ae95292936266f2ccb30aed8fd80724d8c2d0678 | |
download | aur-bd1b1cf70e4c7bf3ec704221081e71a0517dc884.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 32 |
2 files changed, 51 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..2fd996d62904 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +# Generated by mksrcinfo v8 +# Wed Feb 28 04:20:31 UTC 2018 +pkgbase = mwic + pkgdesc = Misspelled Words In Context + pkgver = 0.7.4 + pkgrel = 1 + url = https://github.com/jwilk/mwic + arch = any + license = MIT + checkdepends = aspell-en + checkdepends = python-nose + makedepends = python-docutils + depends = python-pyenchant + depends = python-regex + source = mwic-0.7.4.tar.gz::https://github.com/jwilk/mwic/archive/0.7.4.tar.gz + sha512sums = c9ee668c2f0ef6a99dbdfb4b0560a69c408421e90c932f39b63cd11c97e35653f6615d134d9d4a9202f9cd7921b913813d6fca00b38bd29bf7c01cfa90c89963 + +pkgname = mwic + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fd1ee69b9f27 --- /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: |