install desktop file, icons, docs and pixmaps
This commit is contained in:
parent
92ac1bebdf
commit
83666e3956
2
.SRCINFO
2
.SRCINFO
@ -1,7 +1,7 @@
|
||||
pkgbase = butt
|
||||
pkgdesc = butt (broadcast using this tool) is an easy to use, multi OS streaming tool
|
||||
pkgver = 0.1.16
|
||||
pkgrel = 2
|
||||
pkgrel = 3
|
||||
url = http://butt.sourceforge.net/
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
|
||||
25
PKGBUILD
25
PKGBUILD
@ -4,7 +4,7 @@
|
||||
|
||||
pkgname=butt
|
||||
pkgver=0.1.16
|
||||
pkgrel=2
|
||||
pkgrel=3
|
||||
pkgdesc="butt (broadcast using this tool) is an easy to use, multi OS streaming tool"
|
||||
arch=('i686' 'x86_64')
|
||||
license=('GPL2')
|
||||
@ -31,4 +31,27 @@ build() {
|
||||
package() {
|
||||
cd "$pkgname-$pkgver"
|
||||
make DESTDIR="$pkgdir/" install
|
||||
|
||||
# Desktop file
|
||||
# Category "Sound" is invalid, reaplce it with "AudioVideo;Audio"
|
||||
desktop-file-install --remove-category="Sound" --add-category="AudioVideo;Audio" --dir="$pkgdir/usr/share/applications" "icons/$pkgname.desktop"
|
||||
|
||||
# Icons
|
||||
for size in 16 22 24 32 48 64 96 128 256 512; do
|
||||
format="${size}x${size}"
|
||||
install -D -m644 "icons/icon_${format}.png" "$pkgdir/usr/share/icons/hicolor/${format}/apps/$pkgname.png"
|
||||
done
|
||||
|
||||
install -D -m644 "icons/icon_scalable.svg" "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
|
||||
|
||||
# Documentation
|
||||
for doc in AUTHORS ChangeLog KNOWN_BUGS NEWS README THANKS; do
|
||||
install -D -m644 "${doc}" "$pkgdir/usr/share/doc/$pkgname/${doc}"
|
||||
done
|
||||
|
||||
# Pixmaps
|
||||
for file in usr/share/pixmaps/"$pkgname"*; do
|
||||
filename=`basename "${file}"`
|
||||
install -D -m644 "${file}" "$pkgdir/usr/share/pixmaps/${filename}"
|
||||
done
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user