Skip to content
Snippets Groups Projects
Commit fdc53cd5 authored by Leo's avatar Leo
Browse files

community/xdpyinfo: modernize

parent 8e2b2a99
No related branches found
No related tags found
No related merge requests found
...@@ -8,25 +8,19 @@ arch="all" ...@@ -8,25 +8,19 @@ arch="all"
license="custom" license="custom"
subpackages="$pkgname-doc" subpackages="$pkgname-doc"
makedepends="libxtst-dev" makedepends="libxtst-dev"
depends= source="https://www.x.org/releases/individual/app/xdpyinfo-$pkgver.tar.bz2"
source="https://www.x.org/releases/individual/app/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
build() { build() {
cd "$builddir"
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \
--prefix=/usr \ --prefix=/usr \
--mandir=/usr/share/man \ --mandir=/usr/share/man
|| return 1 make
make || return 1
} }
package() { package() {
cd "$builddir" make DESTDIR="$pkgdir" install
make DESTDIR="$pkgdir" install || return 1
} }
sha512sums="2c9097c13778c7a7fe5a9b3ee04b28512ff6028231eca91ecdf6104c742be470678920d37a4f540fece7e39dccbea34802271f359ab80618027b2856c8912e7d xdpyinfo-1.3.2.tar.bz2" sha512sums="2c9097c13778c7a7fe5a9b3ee04b28512ff6028231eca91ecdf6104c742be470678920d37a4f540fece7e39dccbea34802271f359ab80618027b2856c8912e7d xdpyinfo-1.3.2.tar.bz2"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment