diff options
author | Marcin Mielniczuk | 2017-02-03 13:33:49 +0100 |
---|---|---|
committer | Marcin Mielniczuk | 2017-02-03 13:33:49 +0100 |
commit | 59d36d789eb873605f278fc4389d40b26bec613a (patch) | |
tree | 5ff2c0f722fdf826fc19dd0586eed037a9008320 | |
download | aur-59d36d789eb873605f278fc4389d40b26bec613a.tar.gz |
initial version
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..55648b200c3d --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = fprettify + pkgdesc = An auto-formatter for modern Fortran code that imposes strict whitespace formatting, written in Python. + pkgver = 0.3.1 + pkgrel = 1 + arch = x86_64 + arch = i686 + license = GPLv3 + depends = python + depends = python-future + source = https://github.com/pseewald/fprettify/archive/v0.3.1.tar.gz + sha256sums = 5b135252f8b562af1a673d2cb64c94c8bdaed41a0038e5e115307a552a859d5d + +pkgname = fprettify + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..d2c6d7f7090a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,19 @@ +pkgname=fprettify +pkgver=0.3.1 +pkgrel=1 +pkgdesc="An auto-formatter for modern Fortran code that imposes strict whitespace formatting, written in Python." +arch=('x86_64' 'i686') +license=("GPLv3") +depends=('python' 'python-future') +source=("https://github.com/pseewald/${pkgname}/archive/v${pkgver}.tar.gz") +sha256sums=('5b135252f8b562af1a673d2cb64c94c8bdaed41a0038e5e115307a552a859d5d') + +build() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 +}
\ No newline at end of file |