aboutsummaryrefslogblamecommitdiffstats
path: root/main/glade/APKBUILD
blob: 40d0b52e6b47a2f22f252054c4e7c223b3f5c289 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
             
        
                                                    
                              


             
                                                             
        
                                                     
                                                                                  
         


                                    






                                                                        



                       



                                 

                                         
                                           
                                              
                                  
                           




                        
                                                                    
                                                      

 
                                                                                                                                                                  
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glade
pkgver=3.21.0
pkgrel=0
pkgdesc="User Interface Designer for GTK+ and GNOME"
url="https://glade.gnome.org/"
arch="all"
license="GPL"
depends=
makedepends="gtk+3.0-dev libxml2-dev itstool gtk-doc paxmark"
install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="https://download.gnome.org/sources/glade/${pkgver%.*}/glade-$pkgver.tar.xz
	"

_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
        local i
        cd "$_builddir"
        for i in $source; do
                case $i in
                *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
                esac
        done
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--enable-compile-warnings=no \
		--enable-gtk-doc \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" DATADIRNAME=share install || return 1
	paxmark -r "$pkgdir"/usr/bin/glade || return 1
}

sha512sums="731fbe016f9b0d9b2d2cbee4933512958d6808f3cf24983937ce92b576396506890b1850d2c8c91602afb324362f575cd738d697546721a952fd59c1aac1a0e1  glade-3.21.0.tar.xz"