mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/yad: upgrade to 0.39.0, modernize APKBUILD
This commit is contained in:
parent
1d01e2a4d4
commit
f8d15c25b9
@ -1,27 +1,30 @@
|
||||
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
||||
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
||||
pkgname=yad
|
||||
pkgver=0.38.2
|
||||
pkgver=0.39.0
|
||||
pkgrel=0
|
||||
pkgdesc="A fork of zenity - display graphical dialogs from shell scripts or command line"
|
||||
url="http://sourceforge.net/projects/yad-dialog"
|
||||
arch="all"
|
||||
license="GPL3"
|
||||
depends="hicolor-icon-theme"
|
||||
depends_dev="gtk+2.0-dev intltool"
|
||||
makedepends="$depends_dev"
|
||||
install=""
|
||||
makedepends="gtk+2.0-dev intltool"
|
||||
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
|
||||
source="http://sourceforge.net/projects/yad-dialog/files/$pkgname-$pkgver.tar.xz"
|
||||
builddir="$srcdir"/$pkgname-$pkgver
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
make check
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-icon-browser \
|
||||
--disable-html
|
||||
make || return 1
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
@ -30,6 +33,4 @@ package() {
|
||||
mkdir -p "$pkgdir/usr/share/doc/$pkgname"
|
||||
}
|
||||
|
||||
md5sums="7c0f775ddd135407307c1401b389585f yad-0.38.2.tar.xz"
|
||||
sha256sums="91299cba8836b4e510c4527a081d0ad519ad0c6d9f96b3f7f5409acfb66fd5fa yad-0.38.2.tar.xz"
|
||||
sha512sums="24fdb44556521fa905b94e8c486b847e7366c980291c89aace712d940cd948760a500300d0f3a42be45354a6bb1b29a22d2a7aa747ff49b33b1f128681702f62 yad-0.38.2.tar.xz"
|
||||
sha512sums="99b149e1f902b0c44481d12166579219e5b7ed2be2393e08f1a8a9a0baa26ca506f87e6b037e38c308e92eae0efea1e27ffa4d0bd2c41da21c81759b9bfefd34 yad-0.39.0.tar.xz"
|
||||
|
Loading…
Reference in New Issue
Block a user