removed extra/libogg

This commit is contained in:
Kevin Mihelich 2017-11-19 16:53:33 +00:00
parent 5fa8beb2a8
commit 042ec9ef34
2 changed files with 0 additions and 56 deletions

View file

@ -1,47 +0,0 @@
# $Id$
# Maintainer: Tom Gundersen <teg@jklm.no>
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
# Contributor: John Proctor <jproctor@prium.net>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - create correct config_types based on arch
pkgname=libogg
pkgver=1.3.3
pkgrel=1.1
pkgdesc='Ogg bitstream and framing library'
arch=('x86_64')
url='http://www.xiph.org/ogg/'
license=('BSD')
depends=('glibc')
source=("https://downloads.xiph.org/releases/ogg/libogg-${pkgver}.tar.xz"
'config_types.h')
md5sums=('87ed742047f065046eb6c36745d871b8'
'a4d786b1b1955cb85b64fd16cbbee3f9')
build() {
cd libogg-${pkgver}
./configure \
--prefix='/usr'
make
}
package() {
cd libogg-${pkgver}
make DESTDIR="${pkgdir}" install
# install BSD license
install -Dm 644 COPYING -t "${pkgdir}"/usr/share/licenses/libogg/
# Resolve multilib conflict
if [[ $CARCH == "aarch64" ]]; then
mv "${pkgdir}"/usr/include/ogg/config_types{,-64}.h
else
mv "${pkgdir}"/usr/include/ogg/config_types{,-32}.h
fi
install -m 644 ../config_types.h -t "${pkgdir}"/usr/include/ogg/
}
# vim: ts=2 sw=2 et:

View file

@ -1,9 +0,0 @@
#include <bits/wordsize.h>
#if __WORDSIZE == 32
#include "config_types-32.h"
#elif __WORDSIZE == 64
#include "config_types-64.h"
#else
#error "Unknown word size"
#endif