mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 01:47:15 +08:00
27 lines
916 B
Bash
27 lines
916 B
Bash
|
#
|
||
|
# Chakra Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
||
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
||
|
|
||
|
# include global config
|
||
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
||
|
|
||
|
pkgname=ddcxinfo-arch
|
||
|
pkgver=0.8
|
||
|
pkgrel=1
|
||
|
pkgdesc="utility to probe non/ddc monitors - used by hwd"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="http://user-contributions.org/projects/ddcxinfo-arch/"
|
||
|
license=('LGPL2')
|
||
|
depends=('glibc' 'libx86')
|
||
|
source=(http://user-contributions.org/projects/ddcxinfo-arch/source/$pkgname-$pkgver.tar.gz lrmi-vm86.patch)
|
||
|
md5sums=('ca734d958a54bef03a543479f7ab8b00' '64a4a142daf8491be4cf4075f2086e87')
|
||
|
|
||
|
build() {
|
||
|
cd $startdir/src/$pkgname-$pkgver
|
||
|
patch -p1 < ../lrmi-vm86.patch || return 1
|
||
|
make ddcxinfo-arch || return 1
|
||
|
install -D -m755 ddcxinfo-arch $startdir/pkg/usr/sbin/ddcxinfo-arch || return 1
|
||
|
}
|