blob: 974349fb9f869bdb852a4e4eb8e21684e2e574b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: archlinuxauruser <archlinuxauruser at messagebox dot email>
# Contributor: aulonsal <seraur at aulonsal dot com>
pkgname=f2-bin
pkgver=2.0.3
pkgrel=1
pkgdesc='Cross-platform command-line tool for batch renaming files and directories quickly and safely'
arch=('x86_64' 'i686' 'aarch64')
url="https://github.com/ayoisaiah/${pkgname%-bin}"
license=('MIT')
provides=("${pkgname%-bin}")
conflicts=("${pkgname%-bin}")
source=("${pkgname}-${pkgver}-LICENCE::${url/github/raw.githubusercontent}/v${pkgver}/LICENCE")
source_x86_64=("${pkgname}-${pkgver}-x86_64.tar.gz::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_linux_amd64.tar.gz")
source_i686=("${pkgname}-${pkgver}-i686.tar.gz::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_linux_386.tar.gz")
source_aarch64=("${pkgname}-${pkgver}-aarch64.tar.gz::${url}/releases/download/v${pkgver}/${pkgname%-bin}_${pkgver}_linux_arm64.tar.gz")
b2sums=('1375f8eb689085b7735551ce0f5f19167df905bdf8f105ac72479ae6214666f74a03ce24766bc08a9407c878ecd8078ca3e81013ecf4fd8c80a52dc308e29d78')
b2sums_x86_64=('62f6ee4ba437842cad5e8b5305f44172a8c62dc929f293f4b9e402d992ddfd2dcc8585412dd15474b9345d069783b7fd2c44de6c75b8e6ff38a5eb012fbe3f8a')
b2sums_i686=('24c4ee708938f0041c71ef2b98142473182ca8cd8ce9d5fd09dac763d60de79e2f5f1856c78c8bddbc7e65445d1cf7bb686d51cf2504ca8e8c290f31a92afc72')
b2sums_aarch64=('6931dd524ca967ec0fb761efd4e2497b9609eba737f35940c7343e0ce95de62d55680caeabc56cd7aa8b738bbea4bf59850380b6e569f5c5fffa6a2984f5f074')
package() {
install -Dm755 "${pkgname%-bin}" -t "${pkgdir}/usr/bin"
install -Dm644 "${pkgname}-${pkgver}-LICENCE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENCE"
install -Dm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname%-bin}"
}
|