diff options
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | LICENSE | 8 | ||||
-rw-r--r-- | PKGBUILD | 29 |
3 files changed, 22 insertions, 30 deletions
@@ -1,17 +1,12 @@ -# Generated by mksrcinfo v8 -# Tue Jun 20 13:49:16 UTC 2017 pkgbase = gti pkgdesc = A silly git launcher - pkgver = 1.6.1 + pkgver = 1.8.0 pkgrel = 1 - url = http://r-wos.org/hacks/gti - arch = i686 + url = https://r-wos.org/hacks/gti arch = x86_64 license = custom - source = https://github.com/rwos/gti/archive/v1.6.1.tar.gz - source = LICENSE - sha512sums = a97693f43ea2b1c8b6312991ea2fd7c0eb4b9288da1992d187582f98429204c1bc81ce98a3029b30a7eecea78eb1ba6d2c3aa8497d1f104919cf7980d382c880 - sha512sums = 1ffb66b89716dfcc5d093bc63a8744e8377d4acd97d8df90c486810535c108b18f6ca1a3dd4eb3cd9027e6330392871c702ca49a72afce5a7676380788c7440f + depends = git + source = https://github.com/rwos/gti/archive/v1.8.0.tar.gz + sha256sums = 65339ee1d52dede5e862b30582b2adf8aff2113cd6b5ece91775e1510b24ffb9 pkgname = gti - diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 6b29adc47370..000000000000 --- a/LICENSE +++ /dev/null @@ -1,8 +0,0 @@ -Copyright 2012 by Richard Wossal richard@r-wos.org - -Permission to use, copy, modify, distribute, and sell this software and its -documentation for any purpose is hereby granted without fee, provided that the -above copyright notice appear in all copies and that both that copyright notice -and this permission notice appear in supporting documentation. No -representations are made about the suitability of this software for any -purpose. It is provided "as is" without express or implied warranty. @@ -1,26 +1,31 @@ # Maintainer: Antoine Lubineau <antoine@lubignon.info> # Maintainer: Luca Weiss <luca (at) z3ntu (dot) xyz> +# Contributor: Severin Glöckner <severin.gloeckner@imn.htwk-leipzig.de> pkgname=gti -pkgver=1.6.1 +pkgver=1.8.0 pkgrel=1 pkgdesc="A silly git launcher" -arch=('i686' 'x86_64') -url="http://r-wos.org/hacks/gti" +arch=('x86_64') +url="https://r-wos.org/hacks/gti" license=('custom') -source=("https://github.com/rwos/gti/archive/v$pkgver.tar.gz" - 'LICENSE') -sha512sums=('a97693f43ea2b1c8b6312991ea2fd7c0eb4b9288da1992d187582f98429204c1bc81ce98a3029b30a7eecea78eb1ba6d2c3aa8497d1f104919cf7980d382c880' - '1ffb66b89716dfcc5d093bc63a8744e8377d4acd97d8df90c486810535c108b18f6ca1a3dd4eb3cd9027e6330392871c702ca49a72afce5a7676380788c7440f') +depends=('git') +source=("https://github.com/rwos/gti/archive/v$pkgver.tar.gz") +sha256sums=('65339ee1d52dede5e862b30582b2adf8aff2113cd6b5ece91775e1510b24ffb9') + +prepare() { + cd "$srcdir/$pkgname-$pkgver" + sed '/Copyright/,$! d' README.md > "$srcdir"/LICENSE + sed -i "s/=install/=install -D/" Makefile +} build() { - cd "$srcdir/gti-$pkgver" + cd "$srcdir/$pkgname-$pkgver" make } package() { - install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - install -Dm755 "gti-$pkgver/gti" "$pkgdir/usr/bin/gti" + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install + install -Dm644 "$srcdir"/LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } - -# vim:set ts=2 sw=2 et: |