diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-01-18 14:46:08 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-01-19 09:38:18 +0000 |
commit | 3d29d3fbdb7f3708446b03ed17d97535836fe34e (patch) | |
tree | 18a60b091ae2c4f80ec52a72b22e3caf2c4af11d /main/libnotify | |
parent | b3188583cfbbcce8ec0098daff455d4747011660 (diff) | |
download | aports-3d29d3fbdb7f3708446b03ed17d97535836fe34e.tar.bz2 aports-3d29d3fbdb7f3708446b03ed17d97535836fe34e.tar.xz |
main/libnotify: updated patch file
Diffstat (limited to 'main/libnotify')
-rw-r--r-- | main/libnotify/APKBUILD | 16 | ||||
-rw-r--r-- | main/libnotify/skip-tests.patch | 24 |
2 files changed, 16 insertions, 24 deletions
diff --git a/main/libnotify/APKBUILD b/main/libnotify/APKBUILD index 8586159b1d..c752d37999 100644 --- a/main/libnotify/APKBUILD +++ b/main/libnotify/APKBUILD @@ -13,20 +13,10 @@ makedepends="$depends_dev gtk+3.0-dev autoconf automake" source="http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz skip-tests.patch" -_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 -} +builddir="$srcdir"/$pkgname-$pkgver build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -37,7 +27,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="e9d911f6a22435e0b922f2fe71212b59 libnotify-0.7.7.tar.xz diff --git a/main/libnotify/skip-tests.patch b/main/libnotify/skip-tests.patch index ee86077c28..164ac428ec 100644 --- a/main/libnotify/skip-tests.patch +++ b/main/libnotify/skip-tests.patch @@ -1,11 +1,13 @@ ---- ./Makefile.in.orig -+++ ./Makefile.in -@@ -293,7 +293,7 @@ - top_builddir = @top_builddir@ - top_srcdir = @top_srcdir@ - ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} --SUBDIRS = libnotify docs tools tests -+SUBDIRS = libnotify docs tools - pcdata_DATA = libnotify.pc - pcdatadir = $(libdir)/pkgconfig - EXTRA_DIST = \ +diff --git a/Makefile.in b/Makefile.in +index 1f8525e..c55a3ce 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -190,7 +190,7 @@ am__define_uniq_tagged_files = \ + ETAGS = etags + CTAGS = ctags + CSCOPE = cscope +-DIST_SUBDIRS = libnotify docs tools tests ++DIST_SUBDIRS = libnotify docs tools + DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) + distdir = $(PACKAGE)-$(VERSION) + top_distdir = $(distdir) |