summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 03812f6c345c1e5f078693a9b61aba449ec18c47 (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
27
28
29
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: Abdul Khaliq <a.khaliq@outlook.my>

pkgname='ncp-bin'
pkgver=0.1.5
pkgrel=1
pkgdesc='NCP is a file transfer utility that enables efficient copying of files to and from an NFS server.'
url='https://ncp.lmno.pk'
arch=('aarch64' 'armv7h' 'x86_64')
license=('MIT')
provides=('ncp')
conflicts=('ncp')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/kha7iq/ncp/releases/download/v0.1.5/ncp_Linux_arm64.tar.gz")
sha256sums_aarch64=('3e59171778e737afde556aa96d87423fd2a7700db1450e18e5b4217b1296933f')

source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://github.com/kha7iq/ncp/releases/download/v0.1.5/ncp_Linux_arm.tar.gz")
sha256sums_armv7h=('73058153d0ffa5fa427520c79e5ef2997706b465f8f643dfcad8d8f8deb2c483')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/kha7iq/ncp/releases/download/v0.1.5/ncp_Linux_x86_64.tar.gz")
sha256sums_x86_64=('c1c7fb1aa48ae19e2298b67ac429dd69516060507e8cb38a37f52937b4503fd5')

package() {
  # bin
  install -Dm755 "./ncp" "${pkgdir}/usr/bin/ncp"

  # license
  install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/ncp/LICENSE"
}