diff options
author | Andrew Rabert | 2019-07-01 17:54:03 -0400 |
---|---|---|
committer | Andrew Rabert | 2019-07-01 17:54:03 -0400 |
commit | 81a9f6858f1882d0b0e28527c98338c50a659f6b (patch) | |
tree | 847d76f894d8045d0d1a9864b8d13d4d900c5d53 | |
parent | 8442ed052cf19ca8f8574e7d9032e06c7679591c (diff) | |
download | aur-81a9f6858f1882d0b0e28527c98338c50a659f6b.tar.gz |
Release version 12
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 13 | ||||
-rwxr-xr-x | pre-commit.sh | 39 |
4 files changed, 13 insertions, 49 deletions
@@ -1,18 +1,17 @@ pkgbase = lf pkgdesc = A terminal file manager inspred by ranger written in Go - pkgver = 11 + pkgver = 12 pkgrel = 1 url = https://github.com/gokcehan/lf arch = armv7h arch = i686 arch = x86_64 license = MIT - makedepends = dep makedepends = git makedepends = go depends = glibc - source = lf-r11.tar.gz::https://github.com/gokcehan/lf/archive/r11.tar.gz - sha256sums = 9b325380b42584b15cf15758d0cc43f23cc697e81546520efe73e7bde8501906 + source = lf-r12.tar.gz::https://github.com/gokcehan/lf/archive/r12.tar.gz + sha256sums = 8a3ca71dd18ca01f34a08573049c5f9f4302b5c7a998443d2b0855792fdca7f2 pkgname = lf diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..b28673ecfc3b --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/pkg +/src +lf-*.tar.* @@ -1,17 +1,18 @@ # Contributor: Ian Beringer <ian@ianberinger.com> -# Maintainer: Stefan Husmann <stefan-husmann@t-online.de> +# Contributor: Stefan Husmann <stefan-husmann@t-online.de> +# Maitainer: Andrew Rabert <ar@nullsum.net> pkgname=lf -pkgver=11 +pkgver=12 pkgrel=1 license=('MIT') pkgdesc="A terminal file manager inspred by ranger written in Go" depends=("glibc") -makedepends=('dep' 'git' 'go') +makedepends=('git' 'go') arch=('armv7h' 'i686' 'x86_64') url="https://github.com/gokcehan/lf" source=("$pkgname-r$pkgver.tar.gz::https://github.com/gokcehan/$pkgname/archive/r$pkgver.tar.gz") -sha256sums=('9b325380b42584b15cf15758d0cc43f23cc697e81546520efe73e7bde8501906') +sha256sums=('8a3ca71dd18ca01f34a08573049c5f9f4302b5c7a998443d2b0855792fdca7f2') _srcname=${pkgname}-r$pkgver build() { @@ -20,8 +21,8 @@ build() { rm -rf ${GOPATH}/src/${_srcname} mv ${_srcname} ${GOPATH}/src cd ${GOPATH}/src/${_srcname} - dep ensure -v - go build + go get + version=r$pkgver ./gen/build.sh } package() { diff --git a/pre-commit.sh b/pre-commit.sh deleted file mode 100755 index 56706677ce22..000000000000 --- a/pre-commit.sh +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env bash -# git pre-commit hook: -# - Generate the checksums in the PKGBUILD file and add it to the commit if needed -# - Generate the .SRCINFO file and add it to the commit if needed -# - Validate the PKGBUILD file - -# Generate the checksums in the PKGBUILD file -updpkgsums - -# Remove the archive downloaded by updpkgsums -rm *.tar.gz - -# Check if the checksums in the PKGBUILD file changed -if [ -n "$(git diff PKGBUILD | grep '^+md5sums')" ]; then - printf "Updated the checksums in the PKGBUILD file\n" - git add PKGBUILD - printf "Added the PKGBUILD file to the commit\n" -fi - -# Generate the .SRCINFO file based on the PKGBUILD file -mksrcinfo - -# Check if the .SRCINFO file was created/changed -if [ -n "$(git status --short | grep ' .SRCINFO$')" ]; then - printf "Updated the .SRCINFO file\n" - git add .SRCINFO - printf "Added the .SRCINFO file to the commit\n" -fi - -# Validate the PKGBUILD file by "making" it -makepkg - -# Check if the package was successfully built -if [ $? -eq 0 ]; then - printf "The package was successfully built\n" -fi - -# Remove directories and files created/downloaded by makepkg -rm --force --recursive pkg src *.pkg.tar.xz *.tar.gz |