testing/ratpoison: fix license, depends and check

This commit is contained in:
Natanael Copa 2018-01-02 16:24:56 +00:00
parent 2a5b65245f
commit f9c421d608

View File

@ -2,18 +2,15 @@
# Maintainer: Duncan Guthrie <dguthrie@posteo.net>
pkgname=ratpoison
pkgver=1.4.9
pkgrel=0
pkgdesc="ratpoison: Say good-bye to the rodent"
pkgrel=1
pkgdesc="Minimalistic window manager"
url="http://ratpoison.nongnu.org"
arch="all"
license="GPL2"
depends="libx11"
license="GPL-2.0-only"
makedepends="libx11-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://download.savannah.nongnu.org/releases/$pkgname/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
options="!check"
build() {
cd "$builddir"
@ -30,6 +27,11 @@ build() {
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install