[arch-commits] Commit in dbmate/repos/community-x86_64 (PKGBUILD PKGBUILD)
George Rawlinson
grawlinson at gemini.archlinux.org
Thu Apr 28 07:48:01 UTC 2022
Date: Thursday, April 28, 2022 @ 07:48:01
Author: grawlinson
Revision: 1191494
archrelease: copy trunk to community-x86_64
Added:
dbmate/repos/community-x86_64/PKGBUILD
(from rev 1191493, dbmate/trunk/PKGBUILD)
Deleted:
dbmate/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 134 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 67 insertions(+), 67 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-28 07:47:22 UTC (rev 1191493)
+++ PKGBUILD 2022-04-28 07:48:01 UTC (rev 1191494)
@@ -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.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
-}
Copied: dbmate/repos/community-x86_64/PKGBUILD (from rev 1191493, dbmate/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-28 07:48:01 UTC (rev 1191494)
@@ -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=2
+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