diff options
author | Deposite Pirate | 2022-02-10 02:10:29 +0100 |
---|---|---|
committer | Deposite Pirate | 2022-02-10 02:10:29 +0100 |
commit | 52925afc7c6378ebd490baf312a2d2a8152f54cb (patch) | |
tree | a013c667060fe4e96662df64940311daa3156538 | |
parent | 59499df5465041afd7cd0f07aae64a682125dd83 (diff) |
Bump
modified: youtubedr/.SRCINFO
modified: youtubedr/PKGBUILD
-rw-r--r-- | youtubedr/.SRCINFO | 4 | ||||
-rw-r--r-- | youtubedr/PKGBUILD | 35 |
2 files changed, 20 insertions, 19 deletions
diff --git a/youtubedr/.SRCINFO b/youtubedr/.SRCINFO index f6f8607..f6882a3 100644 --- a/youtubedr/.SRCINFO +++ b/youtubedr/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = youtubedr pkgdesc = Download YouTube videos - pkgver = 2.7.7 + pkgver = 2.7.10 pkgrel = 1 url = https://github.com/kkdai/youtube arch = x86_64 @@ -8,7 +8,7 @@ pkgbase = youtubedr makedepends = go makedepends = git depends = glibc - source = git+https://github.com/kkdai/youtube#tag=v2.7.7 + source = git+https://github.com/kkdai/youtube#tag=v2.7.10 sha256sums = SKIP pkgname = youtubedr diff --git a/youtubedr/PKGBUILD b/youtubedr/PKGBUILD index 7bea32c..d58d3d8 100644 --- a/youtubedr/PKGBUILD +++ b/youtubedr/PKGBUILD @@ -4,7 +4,7 @@ _pkgname=youtube pkgname=youtubedr -pkgver=2.7.7 +pkgver=2.7.10 pkgrel=1 pkgdesc="Download YouTube videos" arch=('x86_64') @@ -16,26 +16,27 @@ source=("git+$url#tag=v$pkgver") sha256sums=('SKIP') build() { - cd "${srcdir}/${_pkgname}" - GOOS=linux GOARCH=amd64 \ - CGO_CPPFLAGS="${CPPFLAGS}" \ - CGO_CFLAGS="${CFLAGS}" \ - CGO_CXXFLAGS="${CXXFLAGS}" \ - go build -v \ - -trimpath \ - -buildmode=pie \ - -mod=readonly \ - -modcacherw \ - -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \ - -o build ./cmd/... + cd "${srcdir}/${_pkgname}" + GOOS=linux GOARCH=amd64 \ + CGO_CPPFLAGS="${CPPFLAGS}" \ + CGO_CFLAGS="${CFLAGS}" \ + CGO_CXXFLAGS="${CXXFLAGS}" \ + go build -v \ + -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -modcacherw \ + -ldflags "-linkmode external -extldflags \"${LDFLAGS}\"" \ + -o build ./cmd/... } check() { - cd "${srcdir}/${_pkgname}" - #go test + cd "${srcdir}/${_pkgname}" + #go test } package() { - cd "${srcdir}/${_pkgname}" - install -Dm755 build "$pkgdir/usr/bin/${pkgname}" + cd "${srcdir}/${_pkgname}" + install -Dm755 build "$pkgdir/usr/bin/${pkgname}" + install -Dm644 README.md "$pkgdir/usr/share/doc/${pkgname}/README.md" } |