diff options
author | jonian | 2023-01-09 20:47:45 +0200 |
---|---|---|
committer | jonian | 2023-01-09 20:47:45 +0200 |
commit | d133476dba632325fa4478d6e530f2dd95bfa84c (patch) | |
tree | 4c6642c9d79d5df4e018cb7faacde6fdccd2c8b1 | |
parent | 667f1b374530d40468e577998e41ed9820f103cb (diff) | |
download | aur-the_platinum_searcher-bin.tar.gz |
update build script
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | LICENSE | 21 | ||||
-rw-r--r-- | PKGBUILD | 35 |
3 files changed, 16 insertions, 51 deletions
@@ -1,18 +1,13 @@ -# Generated by mksrcinfo v8 -# Sun Oct 7 19:12:40 UTC 2018 pkgbase = the_platinum_searcher-bin pkgdesc = A code search tool similar to ack, the_silver_searcher (ag) and ripgrep (rg). pkgver = 2.2.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/monochromegane/the_platinum_searcher arch = x86_64 license = MIT provides = the_platinum_searcher conflicts = the_platinum_searcher - source_x86_64 = https://github.com/monochromegane/the_platinum_searcher/releases/download/v2.2.0/pt_linux_amd64.tar.gz - source_x86_64 = LICENSE - sha512sums_x86_64 = bb0da7b89b5c0c079588c1f3a0e755db0aeac189b676b8df1fa756bff13121e06e61f747c86cd22c92928db22db45b175155cd09b82ff87b289e83581a07c3e4 - sha512sums_x86_64 = 58a1456e4267dc43f7e68071b6077c91516f576060d9a2fb645e47015adfc2dbffcae43e2ca81148bd1e0f0cae2cbe7ef2e147646579ed98bfaa44aa86c95680 + source = the_platinum_searcher-2.2.0::https://github.com/monochromegane/the_platinum_searcher/releases/download/v2.2.0/pt_linux_amd64.tar.gz + sha256sums = 2929afa95ea4efddd8d581343adca24690cd84616800becd090f06ccd3795ed8 pkgname = the_platinum_searcher-bin - diff --git a/LICENSE b/LICENSE deleted file mode 100644 index ea4ad79cbcad..000000000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -The MIT License (MIT) - -Copyright (c) [2014] [the_platinum_searcher] - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. @@ -1,28 +1,19 @@ -# Maintainer: pancho horrillo <pancho at pancho dot name> +# Maintainer: Jonian Guveli <jonian@hardpixel.eu> +# Contributor: pancho horrillo <pancho at pancho dot name> pkgname=the_platinum_searcher-bin -pkgdesc='A code search tool similar to ack, the_silver_searcher (ag) and ripgrep (rg).' +pkgdesc="A code search tool similar to ack, the_silver_searcher (ag) and ripgrep (rg)." pkgver=2.2.0 -pkgrel=1 -arch=('x86_64') -url='https://github.com/monochromegane/the_platinum_searcher' -license=('MIT') -provides=('the_platinum_searcher') -conflicts=('the_platinum_searcher') -source_x86_64=( - "$url/releases/download/v$pkgver/pt_linux_amd64.tar.gz" - LICENSE -) -sha512sums_x86_64=('bb0da7b89b5c0c079588c1f3a0e755db0aeac189b676b8df1fa756bff13121e06e61f747c86cd22c92928db22db45b175155cd09b82ff87b289e83581a07c3e4' - '58a1456e4267dc43f7e68071b6077c91516f576060d9a2fb645e47015adfc2dbffcae43e2ca81148bd1e0f0cae2cbe7ef2e147646579ed98bfaa44aa86c95680') +pkgrel=2 +arch=("x86_64") +url="https://github.com/monochromegane/the_platinum_searcher" +license=("MIT") +provides=("the_platinum_searcher") +conflicts=("the_platinum_searcher") +source=("${pkgname/-bin}-${pkgver}::$url/releases/download/v$pkgver/pt_linux_amd64.tar.gz") +sha256sums=('2929afa95ea4efddd8d581343adca24690cd84616800becd090f06ccd3795ed8') package() { - msg 'Installing pt binary...' - install -Dm755 "$srcdir/pt_linux_amd64/pt" "$pkgdir/usr/bin/pt" - - msg 'Installing README...' - install -Dm644 "$srcdir/pt_linux_amd64/README.md" "$pkgdir/usr/share/doc/${pkgname/-bin}/README.md" - - msg 'Installing LICENSE...' - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/${pkgname/-bin}/LICENSE" + install -Dm755 "$srcdir/pt_linux_amd64/pt" "$pkgdir/usr/bin/pt" + install -Dm644 "$srcdir/pt_linux_amd64/README.md" "$pkgdir/usr/share/doc/${pkgname/-bin}/README.md" } |