mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
29 lines
716 B
Bash
29 lines
716 B
Bash
# Desktop packages for Chakra
|
|
|
|
pkgname=media-player-info
|
|
pkgver=16
|
|
pkgrel=1
|
|
pkgdesc="Data files describing media player capabilities, for post-HAL systems"
|
|
arch=('any')
|
|
license=('BSD')
|
|
url="http://cgit.freedesktop.org/media-player-info/"
|
|
depends=('udev')
|
|
source=(http://www.freedesktop.org/software/media-player-info/$pkgname-$pkgver.tar.gz)
|
|
sha256sums=('655baef727eafba27d72cf49b866e2f7614b13201ad71d5e8af0901ed4d5acca')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
|
|
./configure --prefix=/usr \
|
|
--with-udevdir=/usr/lib/udev
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
install -d "$pkgdir/usr/share/licenses/$pkgname"
|
|
install -m644 COPYING "$pkgdir/usr/share/licenses/$pkgname"
|
|
}
|