core/l-smash/PKGBUILD

35 lines
837 B
Bash
Raw Normal View History

2016-01-02 12:17:32 +08:00
# Arch contributor: https://projects.archlinux.org/svntogit/packages.git/plain/trunk/PKGBUILD?h=packages/l-smash
pkgname=l-smash
pkgver=2.9.1
pkgrel=1
pkgdesc='MP4 muxer and other tools'
arch=('i686' 'x86_64')
url='https://github.com/l-smash/l-smash'
license=('custom')
depends=('glibc')
provides=('liblsmash.so')
source=("l-smash-${pkgver}.tar.gz::https://github.com/l-smash/l-smash/archive/v${pkgver}.tar.gz")
sha256sums=('17f24fc8bffba753f8c628f1732fc3581b80362341274747ef6fb96af1cac45c')
build() {
cd l-smash-${pkgver}
./configure \
--prefix='/usr' \
--enable-shared \
--disable-static
make
}
package() {
cd l-smash-${pkgver}
make DESTDIR="${pkgdir}" install
install -dm 755 "${pkgdir}"/usr/share/licenses/l-smash
install -m 644 LICENSE "${pkgdir}"/usr/share/licenses/l-smash/
}
# vim: ts=2 sw=2 et: