diff options
author | Frederic Bezies | 2021-06-09 19:07:37 +0200 |
---|---|---|
committer | Frederic Bezies | 2021-06-09 19:07:37 +0200 |
commit | e193109264e0732f12cb53d941abcc2b1e72189e (patch) | |
tree | 36d7b53dbc75ef2773b40f0305a0ed325c081b71 | |
download | aur-e193109264e0732f12cb53d941abcc2b1e72189e.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 32 | ||||
-rw-r--r-- | PKGBUILD | 35 |
2 files changed, 67 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..827e527217a2 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,32 @@ +pkgbase = libpamac + pkgdesc = Library for Pamac package manager based on libalpm + pkgver = 11.0.0 + pkgrel = 1 + url = https://gitlab.manjaro.org/applications/libpamac + arch = i686 + arch = pentium4 + arch = x86_64 + arch = arm + arch = armv6h + arch = armv7h + arch = aarch64 + license = GPL3 + makedepends = gettext + makedepends = itstool + makedepends = vala + makedepends = meson + makedepends = ninja + makedepends = gobject-introspection + makedepends = xorgproto + makedepends = asciidoc + depends = pacman>=6.0 + depends = pacman<6.1 + depends = appstream-glib + depends = polkit + provides = libpamac + options = !emptydirs + source = https://gitlab.manjaro.org/applications/libpamac/-/archive/11.0.0/libpamac-11.0.0.tar.bz2 + sha256sums = d4fa2fadffac7a811f9708d724797833377986d2f8c1bf9cc6a24f301783dc78 + +pkgname = libpamac + backup = etc/pamac.conf diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ad7fc2594091 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Frederic Bezies <fredbezies at gmail dot com> + +pkgname=libpamac +pkgver=11.0.0 +pkgrel=1 +pkgdesc="Library for Pamac package manager based on libalpm" +arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') +url="https://gitlab.manjaro.org/applications/libpamac" +license=('GPL3') +depends=('pacman>=6.0' 'pacman<6.1' 'appstream-glib' 'polkit') +makedepends=('gettext' 'itstool' 'vala' 'meson' 'ninja' 'gobject-introspection' 'xorgproto' 'asciidoc') +options=(!emptydirs) +# Only for Manjaro users who should not use it... +provides=('libpamac') +# End of Manjaro users section +source=(https://gitlab.manjaro.org/applications/libpamac/-/archive/$pkgver/libpamac-$pkgver.tar.bz2) +sha256sums=('d4fa2fadffac7a811f9708d724797833377986d2f8c1bf9cc6a24f301783dc78') + +build() { + cd $pkgname-$pkgver + mkdir -p builddir + cd builddir + meson setup --prefix=/usr --sysconfdir=/etc --buildtype=release + # build + ninja +} + +package() { + backup=('etc/pamac.conf') + cd $pkgname-$pkgver + cd builddir + DESTDIR="$pkgdir" ninja install +} + +#vim:set ts=2 sw=2 et: |