Fix desktop file installation, add file hash
This commit is contained in:
parent
09e2fb2db4
commit
474630abba
2
.SRCINFO
2
.SRCINFO
@ -19,7 +19,7 @@ pkgbase = butt
|
|||||||
depends = libsamplerate
|
depends = libsamplerate
|
||||||
optdepends = icecast
|
optdepends = icecast
|
||||||
source = http://sourceforge.net/projects/butt/files/butt/butt-0.1.17/butt-0.1.17.tar.gz
|
source = http://sourceforge.net/projects/butt/files/butt/butt-0.1.17/butt-0.1.17.tar.gz
|
||||||
sha256sums = SKIP
|
sha256sums = afe9596b1d9ef38d2fde1f3255e5a3a12b206c73c8e6601e37cccb07e67ae33d
|
||||||
|
|
||||||
pkgname = butt
|
pkgname = butt
|
||||||
|
|
||||||
|
|||||||
5
PKGBUILD
5
PKGBUILD
@ -12,7 +12,7 @@ url="http://butt.sourceforge.net/"
|
|||||||
depends=('fltk' 'libpng12' 'portaudio' 'libfdk-aac' 'libvorbis' 'libogg' 'lame' 'flac' 'opus' 'libsamplerate')
|
depends=('fltk' 'libpng12' 'portaudio' 'libfdk-aac' 'libvorbis' 'libogg' 'lame' 'flac' 'opus' 'libsamplerate')
|
||||||
optdepends=('icecast')
|
optdepends=('icecast')
|
||||||
source=("http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
|
source=("http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
|
||||||
sha256sums=('SKIP')
|
sha256sums=('afe9596b1d9ef38d2fde1f3255e5a3a12b206c73c8e6601e37cccb07e67ae33d')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "$pkgname-$pkgver"
|
cd "$pkgname-$pkgver"
|
||||||
@ -25,8 +25,7 @@ package() {
|
|||||||
make DESTDIR="$pkgdir/" install
|
make DESTDIR="$pkgdir/" install
|
||||||
|
|
||||||
# Desktop file
|
# Desktop file
|
||||||
# Category "Sound" is invalid, replace it with "AudioVideo;Audio"
|
install -D -m644 "usr/share/applications/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
|
||||||
desktop-file-install --remove-category="Sound" --add-category="AudioVideo;Audio" --dir="$pkgdir/usr/share/applications" "icons/$pkgname.desktop"
|
|
||||||
|
|
||||||
# Icons
|
# Icons
|
||||||
for size in 16 22 24 32 48 64 96 128 256 512; do
|
for size in 16 22 24 32 48 64 96 128 256 512; do
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user