diff options
Diffstat (limited to 'manualPorts/xorg-xcalc')
-rw-r--r-- | manualPorts/xorg-xcalc/.footprint | 11 | ||||
-rw-r--r-- | manualPorts/xorg-xcalc/.md5sum | 1 | ||||
-rw-r--r-- | manualPorts/xorg-xcalc/.signature | 5 | ||||
-rw-r--r-- | manualPorts/xorg-xcalc/Pkgfile | 15 | ||||
-rwxr-xr-x | manualPorts/xorg-xcalc/lastVersion.sh | 8 |
5 files changed, 40 insertions, 0 deletions
diff --git a/manualPorts/xorg-xcalc/.footprint b/manualPorts/xorg-xcalc/.footprint new file mode 100644 index 0000000..2dedc3c --- /dev/null +++ b/manualPorts/xorg-xcalc/.footprint @@ -0,0 +1,11 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/xcalc +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/xcalc.1.gz +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/X11/ +drwxr-xr-x root/root usr/share/X11/app-defaults/ +-rw-r--r-- root/root usr/share/X11/app-defaults/XCalc +-rw-r--r-- root/root usr/share/X11/app-defaults/XCalc-color diff --git a/manualPorts/xorg-xcalc/.md5sum b/manualPorts/xorg-xcalc/.md5sum new file mode 100644 index 0000000..eb7be69 --- /dev/null +++ b/manualPorts/xorg-xcalc/.md5sum @@ -0,0 +1 @@ +397584a68bfe6b02adff16e67f8fe5dd xcalc-1.0.6.tar.bz2 diff --git a/manualPorts/xorg-xcalc/.signature b/manualPorts/xorg-xcalc/.signature new file mode 100644 index 0000000..585b6a5 --- /dev/null +++ b/manualPorts/xorg-xcalc/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/deepthought.pub +RWQxCptPusLGGptX2JR5VRkFsfYKQNF13CMnFMYjIp/EYlMGuXxxICw1DPBFpV0dNuDVl5QR8tnyxZky2ifh/azjwG0gyiG8ywQ= +SHA256 (Pkgfile) = b23fa43849163bd549d47a5cd2cf5df97923705dd9d0f24b2088be8a3b994c4f +SHA256 (.footprint) = 16c46e6b5c959c80fdb3f45afd719be3a28ec16ea5b25416152228344454bb26 +SHA256 (xcalc-1.0.6.tar.bz2) = 2f73c7160c09dc32586ea07daa408ac897c0a16eaa98cad9f9e4ee98cd9057d8 diff --git a/manualPorts/xorg-xcalc/Pkgfile b/manualPorts/xorg-xcalc/Pkgfile new file mode 100644 index 0000000..5f9c75c --- /dev/null +++ b/manualPorts/xorg-xcalc/Pkgfile @@ -0,0 +1,15 @@ +# Description: Scientific calculator for X +# URL: http://cgit.freedesktop.org/xorg/app/xcalc/ +# Maintainer: Erich Eckner, crux at eckner dot net + +name=xorg-xcalc +version=1.0.6 +release=2 +source=(http://xorg.freedesktop.org/archive/individual/app/xcalc-${version}.tar.bz2) + +build() { + cd xcalc-$version + + ./configure --prefix=/usr --mandir=/usr/share/man + make DESTDIR=$PKG install +} diff --git a/manualPorts/xorg-xcalc/lastVersion.sh b/manualPorts/xorg-xcalc/lastVersion.sh new file mode 100755 index 0000000..8fdd055 --- /dev/null +++ b/manualPorts/xorg-xcalc/lastVersion.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +curl "https://www.x.org/archive/individual/app/" 2> /dev/null | \ + tr "\"" "\n" | \ + grep "^xcalc-.*\.tar\.bz2\$" | \ + sed "s|^xcalc-\(.*\)\.tar\.bz2\$|\1|" | \ + sort -V | \ + tail -n1 |