mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 16:21:38 +01:00
Since abuild v2.22.0, these are removed automatically unless 'libtool' option has been specified.
45 lines
923 B
Plaintext
45 lines
923 B
Plaintext
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=xprop
|
|
pkgver=1.2.1
|
|
pkgrel=0
|
|
pkgdesc="Property displayer for X"
|
|
url="http://cgit.freedesktop.org/xorg/app/xprop/"
|
|
arch="all"
|
|
license="AS-IS"
|
|
depends=""
|
|
depends_dev=""
|
|
makedepends="libx11-dev util-macros"
|
|
install=""
|
|
subpackages="$pkgname-doc"
|
|
source="http://xorg.freedesktop.org/archive/individual/app/xprop-$pkgver.tar.bz2"
|
|
|
|
_builddir="$srcdir"/xprop-$pkgver
|
|
prepare() {
|
|
local i
|
|
cd "$_builddir"
|
|
update_config_sub || return 1
|
|
for i in $source; do
|
|
case $i in
|
|
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
|
esac
|
|
done
|
|
}
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure \
|
|
--build=$CBUILD \
|
|
--host=$CHOST \
|
|
--prefix=/usr \
|
|
|| return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make DESTDIR="$pkgdir" install || return 1
|
|
}
|
|
|
|
md5sums="d5529dc8d811efabd136ca2d8e857deb xprop-1.2.1.tar.bz2"
|