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

George Rawlinson grawlinson at gemini.archlinux.org
Sat Mar 26 03:58:37 UTC 2022


    Date: Saturday, March 26, 2022 @ 03:58:37
  Author: grawlinson
Revision: 1176798

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-26 03:57:58 UTC (rev 1176797)
+++ PKGBUILD	2022-03-26 03:58:37 UTC (rev 1176798)
@@ -1,67 +0,0 @@
-# Maintainer: George Rawlinson <grawlinson at archlinux.org>
-# Contributor: Marco A Rojas <marco.rojas at zentek.com.mx>
-
-pkgname=dbmate
-pkgver=1.14.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='519f186c8a3daec086608b2c21677c672eda56db'
-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 1176797, dbmate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-03-26 03:58:37 UTC (rev 1176798)
@@ -0,0 +1,67 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Marco A Rojas <marco.rojas at zentek.com.mx>
+
+pkgname=dbmate
+pkgver=1.15.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='c0555a1df809cabd0eb3a4b796b9ab78e653c871'
+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
+}



More information about the arch-commits mailing list