diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 16:36:47 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-06-20 16:36:47 -0300 |
commit | 572f3b3bd973bfa7e64c4c42fe87c8e3a79b7c20 (patch) | |
tree | 89f43dd22eaacadfa97977de1f3b73285da15735 /libre/gnormalize-libre/PKGBUILD | |
parent | cebf33d7109e0157a80f34d6136e212f0a28d274 (diff) | |
parent | 5898d76e47144f2366f9acda9ab52827b696c2d5 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/bitcoin/PKGBUILD
community/ecryptfs-utils/PKGBUILD
community/erlang/PKGBUILD
community/esmtp/PKGBUILD
community/gmic/PKGBUILD
community/ibus-sunpinyin/PKGBUILD
community/libev/PKGBUILD
community/libmirage/PKGBUILD
community/libraw/PKGBUILD
community/lilypond/PKGBUILD
community/luajit/PKGBUILD
community/matchbox-window-manager/PKGBUILD
community/miniupnpc/PKGBUILD
community/mplayer2/PKGBUILD
community/mumble/PKGBUILD
community/oss/PKGBUILD
community/pidgin-lwqq/PKGBUILD
community/postgis/PKGBUILD
community/python2-pytables/PKGBUILD
community/qmc2/PKGBUILD
community/qtfm/PKGBUILD
community/ruby-gtk3/PKGBUILD
community/tea/PKGBUILD
community/yacpi/PKGBUILD
core/bridge-utils/PKGBUILD
core/gcc/PKGBUILD
core/libsasl/PKGBUILD
core/lvm2/PKGBUILD
core/net-tools/PKGBUILD
core/ppp/PKGBUILD
core/pptpclient/PKGBUILD
core/sdparm/PKGBUILD
core/systemd/PKGBUILD
core/sysvinit-tools/PKGBUILD
extra/aisleriot/PKGBUILD
extra/arora/PKGBUILD
extra/bluez-hcidump/PKGBUILD
extra/bluez/PKGBUILD
extra/cups/PKGBUILD
extra/cyrus-sasl/PKGBUILD
extra/dhcp/PKGBUILD
extra/gnome-bluetooth/PKGBUILD
extra/gnome-desktop/PKGBUILD
extra/gnutls/PKGBUILD
extra/gts/PKGBUILD
extra/guile/PKGBUILD
extra/harfbuzz/PKGBUILD
extra/iptraf-ng/PKGBUILD
extra/json-c/PKGBUILD
extra/kdenetwork/PKGBUILD
extra/kdepim/PKGBUILD
extra/kdesdk-kate/PKGBUILD
extra/libatasmart/PKGBUILD
extra/libbsd/PKGBUILD
extra/libdmtx/PKGBUILD
extra/libhangul/PKGBUILD
extra/libindi/PKGBUILD
extra/libpeas/PKGBUILD
extra/libsmbios/PKGBUILD
extra/libspiro/PKGBUILD
extra/libsrtp/PKGBUILD
extra/libxml2/PKGBUILD
extra/libxrender/PKGBUILD
extra/libxvmc/PKGBUILD
extra/llvm/PKGBUILD
extra/maxima/PKGBUILD
extra/msmtp/PKGBUILD
extra/ortp/PKGBUILD
extra/perl-dbd-sqlite/PKGBUILD
extra/perl-yaml-syck/PKGBUILD
extra/php/PKGBUILD
extra/pm-utils/PKGBUILD
extra/pulseaudio/PKGBUILD
extra/pyqt4/PKGBUILD
extra/scim-anthy/PKGBUILD
extra/scim-chewing/PKGBUILD
extra/scim-m17n/PKGBUILD
extra/scim/PKGBUILD
extra/ssmtp/PKGBUILD
extra/texmacs/PKGBUILD
extra/v86d/PKGBUILD
extra/vlc/PKGBUILD
extra/webkitgtk/PKGBUILD
extra/webkitgtk2/PKGBUILD
extra/wireshark/PKGBUILD
extra/zsh/PKGBUILD
libre/bogofilter-libre/PKGBUILD
libre/ecasound-libre/PKGBUILD
libre/libretools/libretools.install
libre/mc-libre/PKGBUILD
Diffstat (limited to 'libre/gnormalize-libre/PKGBUILD')
-rw-r--r-- | libre/gnormalize-libre/PKGBUILD | 56 |
1 files changed, 32 insertions, 24 deletions
diff --git a/libre/gnormalize-libre/PKGBUILD b/libre/gnormalize-libre/PKGBUILD index 8df68e2b6..6a07966b2 100644 --- a/libre/gnormalize-libre/PKGBUILD +++ b/libre/gnormalize-libre/PKGBUILD @@ -1,5 +1,6 @@ -# $Id$ -# Maintainer: Chris Brannon <cmbrannon79@gmail.com> +# $Id: PKGBUILD 91575 2013-05-24 12:41:56Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Chris Brannon <cmbrannon79@gmail.com> # Contributor: Corrado Primier <bardo@aur.archlinux.org> # Contributor:JZsolt Varadi (karmaxxl) # Maintainer (Parabola): André Silva <emulatorman@lavabit.com> @@ -7,13 +8,13 @@ _pkgname=gnormalize pkgname=gnormalize-libre pkgver=0.63 -pkgrel=4 -pkgdesc="An audio normalizer, converter, encoder/decoder, ripper, tagger and player (without nonfree faac and mac recommendation)" -arch=(any) -url="http://gnormalize.sourceforge.net/" +pkgrel=5 +pkgdesc='Audio normalizer, converter, encoder/decoder, ripper, tagger and player, without nonfree faac and mac recommendation' +arch=('any') +url='http://gnormalize.sourceforge.net/' license=('GPL') -depends=(perl cddb_get desktop-file-utils gtk2-perl hicolor-icon-theme) -makedepends=('xz') +depends=('perl' 'cddb_get' 'desktop-file-utils' 'gtk2-perl' 'hicolor-icon-theme') +makedepends=('xz' 'gendesk') optdepends=('flac: FLAC encoding, FLAC playing in conjunction with mplayer' 'lame: MP3 encoding' 'mpg321: MP3 playing' @@ -29,26 +30,33 @@ replaces=$_pkgname conflicts=$_pkgname provides=$_pkgname=$pkgver install=gnormalize.install -source=(http://downloads.sourceforge.net/sourceforge/gnormalize/${_pkgname}-${pkgver}.tar.gz - gnormalize.desktop) -md5sums=('25ca7520731e61a8b7f4b7fa61928d54' '81c6dffab2139816919842e042705884') +source=("http://downloads.sourceforge.net/sourceforge/gnormalize/${_pkgname}-${pkgver}.tar.gz") +sha256sums=('80fd9aa2da8d7fcc88bd180be2adce1aed863bedba7d715144029bd95b61ccb6') -package() { - cd "${srcdir}/${_pkgname}-${pkgver}" - install -Dm755 gnormalize "${pkgdir}/usr/bin/gnormalize" +prepare() { + cd "$srcdir/$_pkgname-$pkgver" + + gendesk -n --pkgname "$_pkgname" --pkgdesc "$pkgdesc" --mimetypes \ + 'audio/mp3;audio/x-mp3;audio/mpeg;audio/x-mpeg;audio/x-wav;application/x-ogg' lzma -qd gnormalize.1.lzma - install -Dm644 gnormalize.1 "${pkgdir}/usr/share/man/man1/gnormalize.1" - install -d "${pkgdir}/usr/share/gnormalize/animations" - install -m644 animations/*.gif "${pkgdir}/usr/share/gnormalize/animations/" - install -Dm644 README "${pkgdir}/usr/share/doc/gnormalize/README" - install -Dm644 icons/gnormalize.png \ - "${pkgdir}/usr/share/pixmaps/gnormalize.png" +} + +package() { + cd "$srcdir/$_pkgname-$pkgver" + + install -Dm755 "$_pkgname" "$pkgdir/usr/bin/$_pkgname" + install -Dm644 "$_pkgname.1" "$pkgdir/usr/share/man/man1/$_pkgname.1" + install -d "$pkgdir/usr/share/$_pkgname/animations" + install -m644 animations/*.gif "$pkgdir/usr/share/$_pkgname/animations/" + install -Dm644 README "$pkgdir/usr/share/doc/$_pkgname/README" + install -Dm644 "icons/$_pkgname.png" \ + "$pkgdir/usr/share/pixmaps/$_pkgname.png" for i in 16 32 48 ; do - install -Dm644 icons/gnormalize-${i}.png \ - "${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/gnormalize.png" + install -Dm644 "icons/gnormalize-$i.png" \ + "$pkgdir/usr/share/icons/hicolor/${i}x$i/apps/$_pkgname.png" done - install -Dm644 "${srcdir}/gnormalize.desktop" \ - "${pkgdir}/usr/share/applications/gnormalize.desktop" + install -Dm644 "$_pkgname.desktop" \ + "$pkgdir/usr/share/applications/$_pkgname.desktop" } # vim:set ts=2 sw=2 et: |