[arch-commits] Commit in stalonetray/repos/community-x86_64 (PKGBUILD PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Sat Feb 6 16:22:49 UTC 2021


    Date: Saturday, February 6, 2021 @ 16:22:49
  Author: spupykin
Revision: 846880

archrelease: copy trunk to community-x86_64

Added:
  stalonetray/repos/community-x86_64/PKGBUILD
    (from rev 846878, stalonetray/trunk/PKGBUILD)
Deleted:
  stalonetray/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   56 ++++++++++++++++++++++++++++++++------------------------
 1 file changed, 32 insertions(+), 24 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-06 16:22:47 UTC (rev 846879)
+++ PKGBUILD	2021-02-06 16:22:49 UTC (rev 846880)
@@ -1,24 +0,0 @@
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-
-pkgname=stalonetray
-pkgver=0.8.3
-pkgrel=3
-pkgdesc="STAnd-aLONE sysTRAY. It has minimal build and run-time dependencies: the Xlib only."
-arch=('x86_64')
-url="http://stalonetray.sourceforge.net"
-license=('GPL')
-depends=('libx11' 'libxpm')
-source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2)
-sha512sums=('b1c50d844b6497b586c1ad56b721675690ea305a4e3a2601ab5305af0e208c215825eefa8fa374ae0c392252156a8dffd5882992c943344f5b6a674fe6553942')
-
-build() {
-  cd "$srcdir"/$pkgname-$pkgver
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "$srcdir"/$pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  install -D -m644 stalonetrayrc.sample "$pkgdir"/etc/stalonetrayrc
-}

Copied: stalonetray/repos/community-x86_64/PKGBUILD (from rev 846878, stalonetray/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-02-06 16:22:49 UTC (rev 846880)
@@ -0,0 +1,32 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=stalonetray
+pkgver=0.8.3
+pkgrel=4
+pkgdesc="STAnd-aLONE sysTRAY. It has minimal build and run-time dependencies: the Xlib only."
+arch=('x86_64')
+url="https://github.com/kolbusa/stalonetray"
+license=('GPL')
+depends=('libx11' 'libxpm')
+makedepends=('libxslt' 'docbook-xsl')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/kolbusa/stalonetray/archive/v$pkgver.tar.gz")
+sha512sums=('5aee6a0bc85f90ba5ff187da8d9c510d301b794ebdfe36abce2643a0426dc4495da0e5c696c61af201e95e4e05b6414e90d8fcd5c047417ad8f7b2aba6affae0')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver
+  XSLVER=$(pacman -Q docbook-xsl | cut -d' ' -f2 | cut -d- -f1)
+  sed -i "s|/usr/share/sgml/docbook/xsl-stylesheets/manpages/docbook.xsl|/usr/share/xml/docbook/xsl-stylesheets-$XSLVER/manpages/docbook.xsl|g" Makefile.am
+}
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver
+  test -x configure || aclocal && autoheader && autoconf && automake --add-missing
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd "$srcdir"/$pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D -m644 stalonetrayrc.sample.in "$pkgdir"/etc/stalonetrayrc # FIXME
+}



More information about the arch-commits mailing list