Browse Source

pkg-config: add new package

tags/milky-way/v0.3
André Silva 1 year ago
parent
commit
c72fff8603
1 changed files with 40 additions and 0 deletions
  1. +40
    -0
      pkg-config/PKGBUILD

+ 40
- 0
pkg-config/PKGBUILD View File

@@ -0,0 +1,40 @@
# Maintainer (Arch): Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor (Arch): Allan McRae <allan@archlinux.org>
# Contributor (Arch): Judd Vinet <jvinet@zeroflux.org>
# Maintainer: André Silva <emulatorman@hyperbola.info>

pkgname=pkg-config
pkgver=0.29.2
_debver=0.29
_debrel=4
pkgrel=1.hyperbola1
pkgdesc="A system for managing library compile/link flags"
arch=('i686' 'x86_64')
url="https://www.freedesktop.org/wiki/Software/pkg-config/"
license=('GPL-2')
groups=('base-devel')
depends=('glib2')
provides=("pkgconfig=${pkgver}")
conflicts=('pkgconfig')
replaces=('pkgconfig')
source=(https://pkgconfig.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz{,.asc})
sha512sums=('4861ec6428fead416f5cbbbb0bbad10b9152967e481d4b0ff2eb396a9f297f552984c9bb72f6864a37dcd8fca1d9ccceda3ef18d8f121938dbe4fdf2b870fe75'
'SKIP')
validpgpkeys=('6B99CE97F17F48C27F722D71023A4420C7EC6914') # Dan Nicholson

build() {
cd $pkgname-$pkgver
./configure --build=$CHOST --prefix=/usr
make
}

check() {
cd $pkgname-$pkgver
make check
}

package() {
cd $pkgname-$pkgver
make DESTDIR="$pkgdir" install
install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
}

Loading…
Cancel
Save