Subject: [PATCH] testing/pam_sqlite3: cleanup

From: Benoit Masson <[email-masked]>
Date: Wed, 24 May 2023 19:52:36 +0200

---

 testing/pam_sqlite3/APKBUILD | 14 +++++---------

 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/testing/pam_sqlite3/APKBUILD b/testing/pam_sqlite3/APKBUILD

index 18413eecfe9..a29449dd0ff 100644

--- a/testing/pam_sqlite3/APKBUILD

+++ b/testing/pam_sqlite3/APKBUILD

@@ -2,17 +2,14 @@

 # Maintainer: Benoit Masson <[email-masked]>

 pkgname=pam_sqlite3

 pkgver=1.0.2

-pkgrel=0

+pkgrel=1

 pkgdesc="pam_sqlite3"

 url="https://github.com/HormyAJP/pam_sqlite3"

 arch="all"

 license="GPL-3.0"

 depends="linux-pam"

 makedepends="linux-pam-dev sqlite-dev bsd-compat-headers"

-install=""

-subpackages=""

-source="$pkgname-$pkgver.tar.gz::https://github.com/HormyAJP/pam_sqlite3/archive/v1.0.2.tar.gz"

-builddir="$srcdir/$pkgname-$pkgver"

+source="$pkgname-$pkgver.tar.gz::https://github.com/HormyAJP/pam_sqlite3/archive/refs/tags/v1.0.2.tar.gz"

 options="!check"

 prepare() {

@@ -21,7 +18,6 @@ prepare() {

 }

 build() {

- cd "$builddir"

  ./configure \

  --build=$CBUILD \

  --host=$CHOST \

@@ -32,10 +28,10 @@ build() {

 }

 package() {

- cd "$builddir"

  mkdir -p "$pkgdir/lib/security/"

-# make DESTDIR="$pkgdir" install

  install -c -m 755 -o root pam_sqlite3.so $pkgdir/lib/security/

 }

-sha512sums="c6925adeae0f22abef20b02404a64144990d604a77fea16d100174b7a68617662ad59eba466aa33d40001e07a24ec1579cc2b59a5fcd5fb5570f658ac1a2be5e
 pam_sqlite3-1.0.2.tar.gz"

+sha512sums="

+c6925adeae0f22abef20b02404a64144990d604a77fea16d100174b7a68617662ad59eba466aa33d40001e07a24ec1579cc2b59a5fcd5fb5570f658ac1a2be5e
 pam_sqlite3-1.0.2.tar.gz

+"

-- 

2.40.1