27 lines
778 B
Bash
27 lines
778 B
Bash
# Template file for 'bucklespring'
|
|
pkgname=bucklespring
|
|
version=1.5.0
|
|
revision=1
|
|
build_style=gnu-makefile
|
|
make_use_env=yes
|
|
make_build_args="PATH_AUDIO=/usr/share/${pkgname}/wav"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="alure-devel libinput-devel libXtst-devel"
|
|
short_desc="Emulate the sound of the IBM Model-M while typing"
|
|
maintainer="Andrew Benson <abenson+void@gmail.com>"
|
|
license="GPL-2.0-only"
|
|
homepage="https://github.com/zevv/bucklespring"
|
|
distfiles="${homepage}/archive/${version}.tar.gz"
|
|
checksum=0b9505abde912775dd78d8396d2282a6d89e3ad3342b3f150c207becb40d34ab
|
|
replaces="bucklespring-data>=0"
|
|
|
|
if [ $XBPS_CROSS_BASE ]; then
|
|
make_build_args+=" CROSS=$XBPS_CROSS_TRIPLET-"
|
|
fi
|
|
|
|
do_install() {
|
|
vbin buckle
|
|
vmkdir usr/share/${pkgname}
|
|
vcopy wav usr/share/${pkgname}
|
|
}
|