style
This commit is contained in:
parent
dd214fd391
commit
201d2c0256
5
.SRCINFO
5
.SRCINFO
@ -1,10 +1,11 @@
|
|||||||
pkgbase = butt
|
pkgbase = butt
|
||||||
pkgdesc = butt (broadcast using this tool) is an easy to use, multi OS streaming tool
|
pkgdesc = Easy to use, multi OS streaming tool
|
||||||
pkgver = 0.1.17
|
pkgver = 0.1.17
|
||||||
pkgrel = 1
|
pkgrel = 1
|
||||||
url = http://butt.sourceforge.net/
|
url = http://butt.sourceforge.net/
|
||||||
arch = i686
|
arch = i686
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
|
arch = aarch64
|
||||||
arch = armv7h
|
arch = armv7h
|
||||||
license = GPL2
|
license = GPL2
|
||||||
depends = fltk
|
depends = fltk
|
||||||
@ -17,7 +18,7 @@ pkgbase = butt
|
|||||||
depends = flac
|
depends = flac
|
||||||
depends = opus
|
depends = opus
|
||||||
depends = libsamplerate
|
depends = libsamplerate
|
||||||
source = http://sourceforge.net/projects/butt/files/butt/butt-0.1.17/butt-0.1.17.tar.gz
|
source = butt-0.1.17.tar.gz::http://sourceforge.net/projects/butt/files/butt/butt-0.1.17/butt-0.1.17.tar.gz
|
||||||
sha256sums = afe9596b1d9ef38d2fde1f3255e5a3a12b206c73c8e6601e37cccb07e67ae33d
|
sha256sums = afe9596b1d9ef38d2fde1f3255e5a3a12b206c73c8e6601e37cccb07e67ae33d
|
||||||
|
|
||||||
pkgname = butt
|
pkgname = butt
|
||||||
|
|||||||
52
PKGBUILD
52
PKGBUILD
@ -5,43 +5,45 @@
|
|||||||
pkgname=butt
|
pkgname=butt
|
||||||
pkgver=0.1.17
|
pkgver=0.1.17
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc="butt (broadcast using this tool) is an easy to use, multi OS streaming tool"
|
pkgdesc="Easy to use, multi OS streaming tool"
|
||||||
arch=('i686' 'x86_64' 'armv7h')
|
arch=('i686' 'x86_64' 'aarch64' 'armv7h')
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
url="http://butt.sourceforge.net/"
|
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')
|
||||||
source=("http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
source=(${pkgname}-${pkgver}.tar.gz::"http://sourceforge.net/projects/${pkgname}/files/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz")
|
||||||
sha256sums=('afe9596b1d9ef38d2fde1f3255e5a3a12b206c73c8e6601e37cccb07e67ae33d')
|
sha256sums=('afe9596b1d9ef38d2fde1f3255e5a3a12b206c73c8e6601e37cccb07e67ae33d')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "${srcdir}/${pkgname}-${pkgver}"
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
|
|
||||||
# Desktop file
|
# Desktop file
|
||||||
install -Dm644 "usr/share/applications/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
|
install -Dm644 "usr/share/applications/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${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
|
||||||
format="${size}x${size}"
|
format="${size}x${size}"
|
||||||
install -Dm644 "icons/icon_${format}.png" "${pkgdir}/usr/share/icons/hicolor/${format}/apps/${pkgname}.png"
|
install -Dm644 "icons/icon_${format}.png" "${pkgdir}/usr/share/icons/hicolor/${format}/apps/${pkgname}.png"
|
||||||
done
|
done
|
||||||
|
|
||||||
install -Dm644 "icons/icon_scalable.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"
|
install -Dm644 "icons/icon_scalable.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
for doc in AUTHORS ChangeLog KNOWN_BUGS NEWS README THANKS; do
|
for doc in AUTHORS ChangeLog KNOWN_BUGS NEWS README THANKS; do
|
||||||
install -Dm644 "${doc}" "${pkgdir}/usr/share/doc/${pkgname}/${doc}"
|
install -Dm644 "${doc}" "${pkgdir}/usr/share/doc/${pkgname}/${doc}"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Pixmaps
|
# Pixmaps
|
||||||
for file in usr/share/pixmaps/"${pkgname}"*; do
|
for file in usr/share/pixmaps/"${pkgname}"*; do
|
||||||
filename=`basename "${file}"`
|
filename=`basename "${file}"`
|
||||||
install -Dm644 "${file}" "${pkgdir}/usr/share/pixmaps/${filename}"
|
install -Dm644 "${file}" "${pkgdir}/usr/share/pixmaps/${filename}"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# vim:set ts=2 sw=2 et:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user