diff options
author | Patrick Haun | 2018-11-20 08:59:11 +0100 |
---|---|---|
committer | Patrick Haun | 2018-11-20 08:59:11 +0100 |
commit | ba5f5cbafd00eb8da66a9c0f35c181ca9459a478 (patch) | |
tree | d4b3b9599c03d4aadbed413cef8c228b7b8cd75c | |
parent | 18e6bafd29c16393981bc37e5e80936abbea911e (diff) | |
download | aur-ba5f5cbafd00eb8da66a9c0f35c181ca9459a478.tar.gz |
1.14.1
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | PKGBUILD.tmpl | 19 | ||||
-rwxr-xr-x | bump.sh | 21 |
4 files changed, 46 insertions, 6 deletions
@@ -1,13 +1,13 @@ pkgbase = fw pkgdesc = faster workspace management - pkgver = 1.14.0 + pkgver = 1.14.1 pkgrel = 1 url = https://github.com/brocode/fw arch = x86_64 license = WTFPL depends = fzf - source = https://github.com/brocode/fw/releases/download/1.14.0/fw - sha256sums = 02ca1a356561a3bb26c8284caa2e2c7aa624f3dd7d625a44223a16e1ae0b1a97 + source = https://github.com/brocode/fw/releases/download/1.14.1/fw + sha256sums = 40dfa0db0775ed493b6741cb2dbf158fefaa34fa1b3f89d31533d8811ccfbd41 pkgname = fw @@ -1,15 +1,15 @@ # Maintainer: Your name <bros at brocode dot sh> pkgname=fw -pkgver=1.14.0 +pkgver=1.14.1 pkgrel=1 pkgdesc="faster workspace management" depends=('fzf') arch=('x86_64') url="https://github.com/brocode/fw" license=('WTFPL') -source=('https://github.com/brocode/fw/releases/download/1.14.0/fw') -sha256sums=('02ca1a356561a3bb26c8284caa2e2c7aa624f3dd7d625a44223a16e1ae0b1a97') +source=('https://github.com/brocode/fw/releases/download/1.14.1/fw') +sha256sums=('40dfa0db0775ed493b6741cb2dbf158fefaa34fa1b3f89d31533d8811ccfbd41') package() { mkdir -p "${pkgdir}/usr/bin" diff --git a/PKGBUILD.tmpl b/PKGBUILD.tmpl new file mode 100644 index 000000000000..0e7fa5588686 --- /dev/null +++ b/PKGBUILD.tmpl @@ -0,0 +1,19 @@ +# Maintainer: Your name <bros at brocode dot sh> + +pkgname=fw +pkgver=__VERSION__ +pkgrel=__PKGREL__ +pkgdesc="faster workspace management" +depends=('fzf') +arch=('x86_64') +url="https://github.com/brocode/fw" +license=('WTFPL') +source=('__SOURCE__') +sha256sums=('__SHA256__') + +package() { + mkdir -p "${pkgdir}/usr/bin" + chmod +x fw + cp fw "${pkgdir}/usr/bin/fw" +} + diff --git a/bump.sh b/bump.sh new file mode 100755 index 000000000000..5ac6962ef0e6 --- /dev/null +++ b/bump.sh @@ -0,0 +1,21 @@ +#!/bin/bash +set -e -u -o pipefail + +VERSION=$1 +PKGREL=${2:-1} +SOURCE="https://github.com/brocode/fw/releases/download/$VERSION/fw" +NAME="fw" +SHA256=$(curl -L --silent --fail $SOURCE | sha256sum | awk '{print $1}') + +rm -f $NAME* + + + +sed -e "s#__VERSION__#$VERSION#g" \ + -e "s#__SOURCE__#$SOURCE#g" \ + -e "s#__SHA256__#$SHA256#g" \ + -e "s#__PKGREL__#$PKGREL#g" \ + PKGBUILD.tmpl > PKGBUILD + +makepkg --printsrcinfo > .SRCINFO +makepkg |