aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-08-16 13:26:15 +0200
committerMattias Andrée <maandree@operamail.com>2014-08-16 13:26:15 +0200
commit4498afdc0933f4c985cc155925a11657688349a1 (patch)
tree796b3567df8286abf77af1ad03c81571ae4265f5
parentadd install and uninstall rules (diff)
downloadtimeprefix-4498afdc0933f4c985cc155925a11657688349a1.tar.gz
timeprefix-4498afdc0933f4c985cc155925a11657688349a1.tar.bz2
timeprefix-4498afdc0933f4c985cc155925a11657688349a1.tar.xz
dist
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r--dist/archlinux/stable/.gitignore6
-rw-r--r--dist/archlinux/stable/PKGBUILD26
2 files changed, 32 insertions, 0 deletions
diff --git a/dist/archlinux/stable/.gitignore b/dist/archlinux/stable/.gitignore
new file mode 100644
index 0000000..d32e5c6
--- /dev/null
+++ b/dist/archlinux/stable/.gitignore
@@ -0,0 +1,6 @@
+*
+!.git*
+*~
+!PKGBUILD
+!timeprefix.install
+
diff --git a/dist/archlinux/stable/PKGBUILD b/dist/archlinux/stable/PKGBUILD
new file mode 100644
index 0000000..9d5f69d
--- /dev/null
+++ b/dist/archlinux/stable/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org>
+
+pkgname=timeprefix
+pkgver=1
+pkgrel=1
+pkgdesc="Prefix each line with the time it as written"
+arch=(i686 x86_64)
+url="https://github.com/maandree/timeprefix"
+license=('GPL3')
+depends=(gcc glibc)
+makedepends=(make coreutils gcc glibc)
+source=($url/archive/$pkgver.tar.gz)
+sha256sums=(e8332002540e737dccf1ffa75d336a5a0bf2da6c27d0fd116fe335253cdd2bf6)
+
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr
+}
+
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make PREFIX=/usr install DESTDIR="$pkgdir"
+}
+