mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-16 06:20:24 +08:00
29 lines
801 B
Bash
29 lines
801 B
Bash
# Maintainer: Drake Justice <djustice@chakraos.org>
|
|
|
|
pkgname=xorg-xwininfo
|
|
pkgver=1.1.3
|
|
pkgrel=1
|
|
pkgdesc="Command-line utility to print information about windows on an X server"
|
|
arch=(x86_64)
|
|
url="http://xorg.freedesktop.org/"
|
|
license=('custom')
|
|
depends=('libxcb')
|
|
makedepends=('xorg-util-macros' 'libx11')
|
|
groups=('xorg-apps' 'xorg')
|
|
source=(http://xorg.freedesktop.org/archive/individual/app/xwininfo-${pkgver}.tar.bz2)
|
|
sha256sums=('218eb0ea95bd8de7903dfaa26423820c523ad1598be0751d2d8b6a2c23b23ff8')
|
|
|
|
build() {
|
|
cd "${srcdir}/xwininfo-${pkgver}"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/xwininfo-${pkgver}"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -m755 -d "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
install -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/"
|
|
}
|
|
|