summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosef Miegl2018-12-27 21:02:08 +0100
committerJosef Miegl2018-12-27 21:02:08 +0100
commit474630abba6366a47b5a9543d0a369d866ffce5e (patch)
tree140707e423a27836caeaf6740da8c916b5f281ee
parent09e2fb2db42dc888a30f98be0476b91247ec9cf4 (diff)
downloadaur-474630abba6366a47b5a9543d0a369d866ffce5e.tar.gz
Fix desktop file installation, add file hash
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6fd011aca8d..7e676124faf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -19,7 +19,7 @@ pkgbase = butt
depends = libsamplerate
optdepends = icecast
source = http://sourceforge.net/projects/butt/files/butt/butt-0.1.17/butt-0.1.17.tar.gz
- sha256sums = SKIP
+ sha256sums = afe9596b1d9ef38d2fde1f3255e5a3a12b206c73c8e6601e37cccb07e67ae33d
pkgname = butt
diff --git a/PKGBUILD b/PKGBUILD
index b7ec2f05bbf..af34f23eb26 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -12,7 +12,7 @@ url="http://butt.sourceforge.net/"
depends=('fltk' 'libpng12' 'portaudio' 'libfdk-aac' 'libvorbis' 'libogg' 'lame' 'flac' 'opus' 'libsamplerate')
optdepends=('icecast')
source=("http://sourceforge.net/projects/$pkgname/files/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
-sha256sums=('SKIP')
+sha256sums=('afe9596b1d9ef38d2fde1f3255e5a3a12b206c73c8e6601e37cccb07e67ae33d')
build() {
cd "$pkgname-$pkgver"
@@ -25,8 +25,7 @@ package() {
make DESTDIR="$pkgdir/" install
# Desktop file
- # Category "Sound" is invalid, replace it with "AudioVideo;Audio"
- desktop-file-install --remove-category="Sound" --add-category="AudioVideo;Audio" --dir="$pkgdir/usr/share/applications" "icons/$pkgname.desktop"
+ install -D -m644 "usr/share/applications/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
# Icons
for size in 16 22 24 32 48 64 96 128 256 512; do