Date: Friday, February 3, 2023 @ 01:21:47
  Author: grawlinson
Revision: 1392124

archrelease: copy trunk to community-x86_64

Added:
  dbmate/repos/community-x86_64/PKGBUILD
    (from rev 1392123, dbmate/trunk/PKGBUILD)
Deleted:
  dbmate/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  136 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 69 insertions(+), 67 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-03 01:20:39 UTC (rev 1392123)
+++ PKGBUILD    2023-02-03 01:21:47 UTC (rev 1392124)
@@ -1,67 +0,0 @@
-# Maintainer: George Rawlinson <[email protected]>
-# Contributor: Marco A Rojas <[email protected]>
-
-pkgname=dbmate
-pkgver=1.16.0
-pkgrel=1
-pkgdesc='A lightweight, framework-agnostic database migration tool'
-arch=('x86_64')
-url='https://github.com/amacneil/dbmate'
-license=('MIT')
-depends=('glibc')
-makedepends=('git' 'go')
-optdepends=(
-  'mariadb: for local MariaDB instance'
-  'postgresql: for local PostgreSQL instance'
-  'sqlite: for local SQLite instance'
-)
-options=('!lto')
-_commit='649e03f59925de17177b3aa966418c60e2cf65bc'
-source=("$pkgname::git+$url.git#commit=$_commit")
-b2sums=('SKIP')
-
-pkgver() {
-  cd "$pkgname"
-  git describe --tags | sed 's/^v//'
-}
-
-prepare() {
-  cd "$pkgname"
-
-  # create directory for build output
-  mkdir build
-
-  # download dependencies
-  go mod download
-}
-
-build() {
-  cd "$pkgname"
-
-  # set Go flags
-  export CGO_CPPFLAGS="${CPPFLAGS}"
-  export CGO_CFLAGS="${CFLAGS}"
-  export CGO_CXXFLAGS="${CXXFLAGS}"
-
-  go build -v \
-    -trimpath \
-    -buildmode=pie \
-    -mod=readonly \
-    -modcacherw \
-    -ldflags "-linkmode external -extldflags ${LDFLAGS}" \
-    -o build \
-    .
-}
-
-package() {
-  cd "$pkgname"
-
-  # binary
-  install -vDm755 -t "$pkgdir/usr/bin" "build/$pkgname"
-
-  # documentation
-  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
-
-  # license
-  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
-}

Copied: dbmate/repos/community-x86_64/PKGBUILD (from rev 1392123, 
dbmate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-02-03 01:21:47 UTC (rev 1392124)
@@ -0,0 +1,69 @@
+# Maintainer: George Rawlinson <[email protected]>
+# Contributor: Marco A Rojas <[email protected]>
+
+pkgname=dbmate
+pkgver=1.16.2
+pkgrel=1
+pkgdesc='A lightweight, framework-agnostic database migration tool'
+arch=('x86_64')
+url='https://github.com/amacneil/dbmate'
+license=('MIT')
+depends=('glibc')
+makedepends=('git' 'go')
+optdepends=(
+  'mariadb: for local MariaDB instance'
+  'postgresql: for local PostgreSQL instance'
+  'sqlite: for local SQLite instance'
+)
+options=('!lto')
+_commit='74bf9fc09c346d56ea3ac175fed0de98dea017b5'
+source=("$pkgname::git+$url.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+  cd "$pkgname"
+  git describe --tags | sed 's/^v//'
+}
+
+prepare() {
+  cd "$pkgname"
+
+  # create directory for build output
+  mkdir build
+
+  # download dependencies
+  go mod download
+}
+
+build() {
+  cd "$pkgname"
+
+  # set Go flags
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
+  export GOPATH="${srcdir}"
+
+  go build -v \
+    -buildmode=pie \
+    -mod=readonly \
+    -modcacherw \
+    -ldflags "-compressdwarf=false \
+    -linkmode external \
+    -extldflags ${LDFLAGS}" \
+    -o build \
+    .
+}
+
+package() {
+  cd "$pkgname"
+
+  # binary
+  install -vDm755 -t "$pkgdir/usr/bin" "build/$pkgname"
+
+  # documentation
+  install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.md
+
+  # license
+  install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}

Reply via email to