summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoreolianoe2015-06-08 17:37:09 +0200
committereolianoe2015-06-08 17:37:09 +0200
commite2daff5dd91ff7b59ec6c79232c8a8dcde952ba6 (patch)
tree470ea43e09ee17016324883be14f3130529a672d
downloadaur-e2daff5dd91ff7b59ec6c79232c8a8dcde952ba6.tar.gz
Initial import
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD29
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9748c967de8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = fort77
+ pkgdesc = Compile Fortran code with your favourite C compiler (set CC).
+ pkgver = 1.18
+ pkgrel = 3
+ url = http://pubs.opengroup.org/onlinepubs/009696699/utilities/fort77.html
+ arch = i686
+ arch = x86_64
+ license = custom
+ depends = f2c
+ depends = perl
+ source = ftp://ftp.icm.edu.pl/pub/Linux/sunsite/devel/lang/fortran/fort77-1.18.tar.gz
+ sha256sums = bfb3d054b92f97c63bdeb4bd31193824d8ab0469b47aed7d43ec5a66368e097d
+
+pkgname = fort77
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..6395ce0f054
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: eolianoe <eolianoe At GoogleMAIL DoT com>
+# Contributor: Jens Staal <staal1978@gmail.com>
+pkgname=fort77
+pkgver=1.18
+pkgrel=3
+url="http://pubs.opengroup.org/onlinepubs/009696699/utilities/fort77.html"
+license=("custom")
+pkgdesc="Compile Fortran code with your favourite C compiler (set CC)."
+arch=('i686' 'x86_64')
+depends=('f2c' 'perl')
+
+source=("ftp://ftp.icm.edu.pl/pub/Linux/sunsite/devel/lang/fortran/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('bfb3d054b92f97c63bdeb4bd31193824d8ab0469b47aed7d43ec5a66368e097d')
+
+check (){
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make test
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ install -Dm755 ${pkgname} \
+ ${pkgdir}/usr/bin/fort77
+ install -Dm644 ${pkgname}.1 \
+ ${pkgdir}/usr/share/man/man1/fort77.1
+ install -Dm644 ${pkgname}-${pkgver}.lsm \
+ ${pkgdir}/usr/share/licenses/${pkgname}/LICENCE
+}