* ad tinyxxd
This commit is contained in:
parent
0c772e656c
commit
7565fd2d40
13
tinyxxd/.SRCINFO
Normal file
13
tinyxxd/.SRCINFO
Normal file
@ -0,0 +1,13 @@
|
||||
pkgbase = tinyxxd
|
||||
pkgdesc = Standalone version of the hex dump utility that comes with ViM
|
||||
pkgver = 1.3.1
|
||||
pkgrel = 1
|
||||
url = https://github.com/xyproto/tinyxxd
|
||||
arch = x86_64
|
||||
license = GPL-2.0-or-later
|
||||
provides = xxd
|
||||
conflicts = xxd
|
||||
source = https://github.com/xyproto/tinyxxd/releases/download/v1.3.1/tinyxxd-1.3.1.tar.gz
|
||||
b2sums = fd1f6c0a0742d7273ee1a2f8856819477f2be6a8f80e7c87b384735df2f469f81362370c4e77a103ddc6f434bfb159f09d5595712fad8b385a9edbc678af04d5
|
||||
|
||||
pkgname = tinyxxd
|
23
tinyxxd/PKGBUILD
Normal file
23
tinyxxd/PKGBUILD
Normal file
@ -0,0 +1,23 @@
|
||||
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||
# Maintainer: Alexander F. Rødseth <xyproto@archlinux.org>
|
||||
|
||||
pkgname=tinyxxd
|
||||
pkgver=1.3.1
|
||||
pkgrel=1
|
||||
pkgdesc='Standalone version of the hex dump utility that comes with ViM'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url='https://github.com/xyproto/tinyxxd'
|
||||
provides=(xxd)
|
||||
conflicts=(xxd)
|
||||
license=(GPL-2.0-or-later)
|
||||
source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz")
|
||||
b2sums=('fd1f6c0a0742d7273ee1a2f8856819477f2be6a8f80e7c87b384735df2f469f81362370c4e77a103ddc6f434bfb159f09d5595712fad8b385a9edbc678af04d5')
|
||||
|
||||
build() {
|
||||
make -C $pkgname-$pkgver
|
||||
}
|
||||
|
||||
package() {
|
||||
DESTDIR="$pkgdir" make -C $pkgname-$pkgver install
|
||||
ln -s /usr/bin/tinyxxd "$pkgdir/usr/bin/xxd"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user