[arch-commits] Commit in (4 files)

Andreas Radke andyrtr at archlinux.org
Sun Nov 15 20:34:42 UTC 2020


    Date: Sunday, November 15, 2020 @ 20:34:41
  Author: andyrtr
Revision: 401239

initial commit - WIP

Added:
  ps-printer-app/
  ps-printer-app/repos/
  ps-printer-app/trunk/
  ps-printer-app/trunk/PKGBUILD

----------+
 PKGBUILD |   57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)

Added: ps-printer-app/trunk/PKGBUILD
===================================================================
--- ps-printer-app/trunk/PKGBUILD	                        (rev 0)
+++ ps-printer-app/trunk/PKGBUILD	2020-11-15 20:34:41 UTC (rev 401239)
@@ -0,0 +1,57 @@
+# Maintainer: Andreas Radke <andyrtr at archlinux.org>
+
+pkgname=ps-printer-app
+_commit=2e43897c2e5c3df378958d2fbbb975144ae49f1a # master 2020-11-15
+pkgver=0.r25.2e43897
+pkgrel=1
+epoch=
+pkgdesc="a Printer Application for PostScript printers that uses PAPPL to support IPP printing"
+arch=('x86_64')
+url="https://github.com/OpenPrinting/ps-printer-app"
+license=('Apache')
+groups=()
+depends=('pappl')
+makedepends=('git')
+checkdepends=()
+optdepends=()
+provides=()
+conflicts=()
+replaces=()
+backup=()
+options=()
+install=
+changelog=
+#source=("$pkgname-$pkgver.tar.gz"
+#        "$pkgname-$pkgver.patch")
+source=("git+https://github.com/OpenPrinting/ps-printer-app#commit=$_commit")
+noextract=()
+sha256sums=('SKIP')
+#validpgpkeys=()
+
+pkgver() {
+  cd $pkgname
+  #git describe --tags | sed 's/-/+/g' | sed 's/v//'
+  #git rev-list --count HEAD # = 25
+  printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" # 0.r25.2e43897
+}
+
+#prepare() {
+#	cd "$pkgname-$pkgver"
+#	patch -p1 -i "$srcdir/$pkgname-$pkgver.patch"
+#}
+
+build() {
+	cd "$pkgname" #-$pkgver"
+	# ./configure --prefix=/usr
+	make
+}
+
+check() {
+	cd "$pkgname" #-$pkgver"
+	make -k check
+}
+
+package() {
+	cd "$pkgname" #-$pkgver"
+	make DESTDIR="$pkgdir/" install
+}



More information about the arch-commits mailing list