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