Skip to content

Commit

Permalink
Bump to package-query 1.12
Browse files Browse the repository at this point in the history
- Compatibility with pacman 6
- Use autoreconf to bootstrap autotools
  • Loading branch information
Skunnyk committed Jun 2, 2021
1 parent 767ada2 commit 840a000
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package-query is a frontend to Arch Linux pacman's database - libalpm; it also
adds support of Arch User Repository - AUR (https://aur.archlinux.org/).

package-query is mostly used by yaourt (https://github.com/archlinuxfr/yaourt)
package-query was mostly used by yaourt (https://github.com/archlinuxfr/yaourt)
but may as well be used as a stand-alone tool.

Dependencies:
Expand Down
7 changes: 2 additions & 5 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
#!/bin/sh -x

libtoolize
aclocal -I m4 --install
autoheader
automake --foreign --add-missing
autoconf
mkdir -p m4/
autoreconf -vif
10 changes: 5 additions & 5 deletions configure.ac
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.

AC_PREREQ(2.69)
AC_INIT([package-query], [1.11], [https://github.com/archlinuxfr/package-query])
AC_PREREQ([2.69])
AC_INIT([package-query],[1.12],[https://github.com/archlinuxfr/package-query])
AM_INIT_AUTOMAKE([-Wall])
AC_CONFIG_MACRO_DIR([m4])
AC_CONFIG_SRCDIR([src/package-query.c])
AC_CONFIG_HEADER([config.h])
AC_CONFIG_HEADERS([config.h])



AC_PROG_CC
AC_PROG_LIBTOOL
LT_INIT

# Checks for header files.
AC_CHECK_HEADERS([ctype.h getopt.h glob.h libintl.h limits.h locale.h regex.h signal.h sys/ioctl.h sys/stat.h sys/utsname.h])

AC_CHECK_LIB([alpm], [alpm_version], ,
AC_MSG_ERROR([pacman is needed to compile package-query]))
PKG_CHECK_MODULES([alpm], [libalpm >= 12.0.0])
PKG_CHECK_MODULES([alpm], [libalpm >= 13.0.0])

AC_CHECK_LIB([yajl], [yajl_free], ,
AC_MSG_ERROR([yajl is needed to compile package-query]))
Expand Down

0 comments on commit 840a000

Please sign in to comment.