mp3info: split gtk and ncurses executable

This commit is contained in:
eater 2019-07-23 12:45:21 +02:00 committed by Johannes
parent 790c506bdd
commit 99dc52799b
2 changed files with 11 additions and 2 deletions

1
srcpkgs/mp3info-gtk Symbolic link
View file

@ -0,0 +1 @@
mp3info

View file

@ -1,7 +1,7 @@
# Template file for 'mp3info'
pkgname=mp3info
version=0.8.5a
revision=3
revision=4
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="gtk+-devel ncurses-devel"
@ -9,7 +9,7 @@ short_desc="Utility used to read and modify the ID3 tags of MP3 files"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-2"
homepage="http://ibiblio.org/mp3info/"
distfiles="ftp://ftp.ibiblio.org/pub/linux/apps/sound/mp3-utils/mp3info/mp3info-${version}.tgz"
distfiles="https://ibiblio.org/pub/linux/apps/sound/mp3-utils/mp3info/mp3info-${version}.tgz"
checksum=0438ac68e9f04947fb14ca5573d27c62454cb9db3a93b7f1d2c226cd3e0b4e10
pre_configure() {
@ -27,3 +27,11 @@ do_install() {
make prefix=${DESTDIR}/usr mandir=${DESTDIR}/usr/share/man/man1 install
}
mp3info-gtk_package() {
short_desc+=" - gtk user interface"
pkg_install() {
vmove usr/bin/gmp3info
}
}