forked from archlinux/svntogit-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
archrelease: copy trunk to staging-x86_64
git-svn-id: file:///srv/repos/svn-packages/svn@439066 eb2447ed-0c53-47e4-bac8-5bc4a241df78
- Loading branch information
1 parent
357956f
commit 4f51e7a
Showing
1 changed file
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Maintainer: Maxime Gauduin <[email protected]> | ||
# Contributor: Bartłomiej Piotrowski <[email protected]> | ||
# Contributor: Tobias Kieslich <[email protected]> | ||
# Contributor: dorphell <[email protected]> | ||
# Contributor: John Proctor <[email protected]> | ||
|
||
pkgname=libvorbis | ||
pkgver=1.3.7 | ||
pkgrel=3 | ||
pkgdesc='Reference implementation of the Ogg Vorbis audio format' | ||
arch=(x86_64) | ||
url=https://www.xiph.org/vorbis/ | ||
license=(BSD) | ||
depends=(libogg.so) | ||
makedepends=(git) | ||
provides=( | ||
libvorbis.so | ||
libvorbisenc.so | ||
libvorbisfile.so | ||
) | ||
_tag=0c55fa38933fd4bdb7db7c298b27e7bf2f2c5e98 | ||
source=(git+https://github.com/xiph/vorbis.git?signed#tag=${_tag}) | ||
validpgpkeys=(B7B00AEE1F960EEA0FED66FB9259A8F2D2D44C84) # Ralph Giles <[email protected]> | ||
sha256sums=(SKIP) | ||
|
||
pkgver() { | ||
cd vorbis | ||
|
||
git describe --tags | sed 's/^v//' | ||
} | ||
|
||
prepare() { | ||
cd vorbis | ||
|
||
./autogen.sh | ||
} | ||
|
||
build() { | ||
cd vorbis | ||
|
||
./configure \ | ||
--prefix=/usr \ | ||
--disable-static \ | ||
--enable-shared | ||
make | ||
} | ||
|
||
check() { | ||
make -C vorbis check | ||
} | ||
|
||
package() { | ||
make DESTDIR="${pkgdir}" -C vorbis install | ||
install -Dm 644 vorbis/COPYING -t "${pkgdir}"/usr/share/licenses/libvorbis | ||
} | ||
|
||
# vim: ts=2 sw=2 et: |