aboutsummaryrefslogblamecommitdiffstats
path: root/community/libunique3/APKBUILD
blob: 161ec3f6df2defdb73c55ef059f916cc3f8e3d70 (plain) (tree)
1
2
3
4
5
6
7
8
9
10






                                                          
                           

                                       
                                                                                           

                                    
 
           

                         


         
                     


                                 


                                      

                              


           
                                      
 
 
                                                                                                                                                                     
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libunique3
pkgver=3.0.2
pkgrel=0
pkgdesc="Library for writing single instance applications"
url="http://live.gnome.org/LibUnique"
arch="all"
license="LGPL-2.1-or-later"
makedepends="gtk+3.0-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.gnome.org/sources/libunique/${pkgver%.*}/libunique-$pkgver.tar.xz"

builddir="$srcdir"/libunique-$pkgver

prepare() {
	update_config_sub
	default_prepare
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--disable-static \
		--disable-dbus
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="b053b9f265c751bd581d15bf73246fb087075eaf75760565671c09a4ab80db342b4d2185050a877c4e25276d24f7895f4325ca60b918a7c4acd9d1591e97a8b4  libunique-3.0.2.tar.xz"