mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 12:34:37 +08:00
26 lines
583 B
Bash
26 lines
583 B
Bash
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/xvidcore
|
|
|
|
pkgname=xvidcore
|
|
pkgver=1.3.4
|
|
pkgrel=1
|
|
pkgdesc="XviD is an open source MPEG-4 video codec"
|
|
arch=('x86_64')
|
|
license=('GPL')
|
|
url="http://www.xvid.org/"
|
|
depends=('glibc')
|
|
makedepends=('nasm')
|
|
source=("http://downloads.xvid.org/downloads/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('5e68b84e3286b7bbaa95ddc34f0fcace')
|
|
|
|
build() {
|
|
cd "${pkgname}/build/generic"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}/build/generic"
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
}
|