summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f2193a552973fe464b0f5937eb7d0c548f10d1c0 (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
30
31
32
33
34
35
# Maintainer: Johannes Schmitz <jonny at wolpzone dot de>

pkgname=bytecopy-git
pkgdesc='Copy byte segments of arbitrary size between files and devices'
url='https://github.com/jonny112/bytecopy'
license=('GPL-3.0-or-later')

pkgver=20250301
pkgrel=1
arch=('x86_64')
options=('!debug')

depends=(
    glibc
)

makedepends=(
    coreutils
    make
    gcc
    git
)

source=('git+https://github.com/jonny112/bytecopy')
sha256sums=('SKIP')

build() {
    cd bytecopy
    make
}

package() {
    install -D -m755 bytecopy/bin/bytecopy -t "${pkgdir}/usr/bin"
    install -D -m644 bytecopy/doc/man1/bytecopy.1 -t "${pkgdir}/usr/share/man/man1"
}