[arch-commits] Commit in elvish/repos/community-x86_64 (4 files)
Date: Wednesday, April 27, 2022 @ 13:26:25 Author: alerque Revision: 1191107 archrelease: copy trunk to community-x86_64 Added: elvish/repos/community-x86_64/PKGBUILD (from rev 1191104, elvish/trunk/PKGBUILD) elvish/repos/community-x86_64/elvish.install (from rev 1191105, elvish/trunk/elvish.install) Deleted: elvish/repos/community-x86_64/PKGBUILD elvish/repos/community-x86_64/elvish.install + PKGBUILD | 144 +++ elvish.install | 28 +- 2 files changed, 86 insertions(+), 86 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-04-27 13:26:22 UTC (rev 1191106) +++ PKGBUILD2022-04-27 13:26:25 UTC (rev 1191107) @@ -1,72 +0,0 @@ -# Maintainer: George Rawlinson -# Contributor: Haochen Tong -# Contributor: Qi Xiao - -pkgname=elvish -pkgver=0.18.0 -pkgrel=1 -pkgdesc="A friendly and expressive Unix shell" -arch=('x86_64') -url="https://elv.sh; -license=('BSD') -depends=('glibc') -makedepends=('git' 'go') -install="$pkgname.install" -options=('!lto') -_commit='214665f014b7d2e6e2d17ee33e9057bab323f842' -source=("$pkgname::git+https://github.com/elves/elvish.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} \ --X github.com/elves/elvish/pkg/buildinfo.Reproducible=true \ --X github.com/elves/elvish/pkg/buildinfo.Version=$pkgver" \ --o build \ -./cmd/... -} - -check() { - cd "$pkgname" - go test -v -race ./... -} - -package() { - cd "$pkgname" - - # binary - install -vDm755 -t "$pkgdir/usr/bin" build/elvish - - # documentation - install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md - - # license - install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE -} Copied: elvish/repos/community-x86_64/PKGBUILD (from rev 1191104, elvish/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-04-27 13:26:25 UTC (rev 1191107) @@ -0,0 +1,72 @@ +# Maintainer: George Rawlinson +# Contributor: Haochen Tong +# Contributor: Qi Xiao + +pkgname=elvish +pkgver=0.18.0 +pkgrel=2 +pkgdesc="A friendly and expressive Unix shell" +arch=('x86_64') +url="https://elv.sh; +license=('BSD') +depends=('glibc') +makedepends=('git' 'go') +install="$pkgname.install" +options=('!lto') +_commit='214665f014b7d2e6e2d17ee33e9057bab323f842' +source=("$pkgname::git+https://github.com/elves/elvish.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} \ +-X github.com/elves/elvish/pkg/buildinfo.Reproducible=true \ +-X github.com/elves/elvish/pkg/buildinfo.Version=$pkgver" \ +-o build \ +./cmd/... +} + +check() { + cd "$pkgname" + go test -v -race ./... +} + +package() { + cd "$pkgname" + + # binary + install -vDm755 -t "$pkgdir/usr/bin" build/elvish + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md + + # license + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE +} Deleted: elvish.install === --- elvish.install 2022-04-27 13:26:22 UTC (rev 1191106) +++ elvish.install 2022-04-27 13:26:25 UTC (rev 1191107) @@ -1,14 +0,0 @@ -post_install() { - grep -Fqx /bin/elvish /etc/shells || echo /bin/elvish >> /etc/shells - grep -Fqx /usr/bin/elvish /etc/shells || echo /usr/bin/elvish >> /etc/shells -} - -post_upgrade() { - post_install -} - -pre_remove() { - sed -i -r '/^(\/usr)?\/bin\/elvish$/d' etc/shells -} - -# vim:set ts=2 sw=2 et: Copied: elvish/repos/community-x86_64/elvish.install (from rev 1191105, elvish/trunk/elvish.install) === --- elvish.install (rev 0) +++ elvish.install 2022-04-27 13:26:25 UTC (rev 1191107) @@ -0,0 +1,14 @@ +post_install() { + grep -Fqx /bin/elvish /etc/shells || echo
[arch-commits] Commit in elvish/repos/community-x86_64 (4 files)
Date: Monday, March 21, 2022 @ 06:59:16 Author: grawlinson Revision: 1166652 archrelease: copy trunk to community-x86_64 Added: elvish/repos/community-x86_64/PKGBUILD (from rev 1166651, elvish/trunk/PKGBUILD) elvish/repos/community-x86_64/elvish.install (from rev 1166651, elvish/trunk/elvish.install) Deleted: elvish/repos/community-x86_64/PKGBUILD elvish/repos/community-x86_64/elvish.install + PKGBUILD | 137 --- elvish.install | 28 +-- 2 files changed, 86 insertions(+), 79 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2022-03-21 06:58:11 UTC (rev 1166651) +++ PKGBUILD2022-03-21 06:59:16 UTC (rev 1166652) @@ -1,65 +0,0 @@ -# Maintainer: George Rawlinson -# Contributor: Haochen Tong -# Contributor: Qi Xiao - -pkgname=elvish -pkgver=0.17.0 -pkgrel=1 -pkgdesc="A friendly and expressive Unix shell" -arch=('x86_64') -url="https://elv.sh; -license=('BSD') -depends=('glibc') -makedepends=('git' 'go') -install="$pkgname.install" -source=("$pkgname-$pkgver.tar.gz::https://github.com/elves/elvish/archive/v$pkgver.tar.gz;) -sha512sums=('bbf4895a99f3c1aa1d35cc04073feba121fda72afcb5dc241c5b1ded3c3f815d81f3ad4b9a51878ead865ecee3ea5dacc855a38057aa7e49a2ada306fc950895') -b2sums=('3725787f287dff6d2e740f75a4a62a47815166c7146d32b9358720209fc9eb4660b68599f8cc05313a44a5f02d97a0b30077588d9950048ae02a66f741795096') - -prepare() { - cd "$pkgname-$pkgver" - - # create directory for build output - mkdir build - - # download dependencies - go mod download -} - -build() { - cd "$pkgname-$pkgver" - - # 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} \ --X github.com/elves/elvish/pkg/buildinfo.Reproducible=true \ --X github.com/elves/elvish/pkg/buildinfo.Version=$pkgver" \ --o build \ -./cmd/... -} - -check() { - cd "$pkgname-$pkgver" - go test -v -race ./... -} - -package() { - cd "$pkgname-$pkgver" - - # binary - install -vDm755 -t "$pkgdir/usr/bin" build/elvish - - # documentation - install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md - - # license - install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE -} Copied: elvish/repos/community-x86_64/PKGBUILD (from rev 1166651, elvish/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2022-03-21 06:59:16 UTC (rev 1166652) @@ -0,0 +1,72 @@ +# Maintainer: George Rawlinson +# Contributor: Haochen Tong +# Contributor: Qi Xiao + +pkgname=elvish +pkgver=0.18.0 +pkgrel=1 +pkgdesc="A friendly and expressive Unix shell" +arch=('x86_64') +url="https://elv.sh; +license=('BSD') +depends=('glibc') +makedepends=('git' 'go') +install="$pkgname.install" +options=('!lto') +_commit='214665f014b7d2e6e2d17ee33e9057bab323f842' +source=("$pkgname::git+https://github.com/elves/elvish.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} \ +-X github.com/elves/elvish/pkg/buildinfo.Reproducible=true \ +-X github.com/elves/elvish/pkg/buildinfo.Version=$pkgver" \ +-o build \ +./cmd/... +} + +check() { + cd "$pkgname" + go test -v -race ./... +} + +package() { + cd "$pkgname" + + # binary + install -vDm755 -t "$pkgdir/usr/bin" build/elvish + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md + + # license + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE +} Deleted: elvish.install === --- elvish.install 2022-03-21 06:58:11 UTC (rev 1166651) +++ elvish.install 2022-03-21 06:59:16 UTC (rev 1166652) @@ -1,14 +0,0 @@ -post_install() { - grep -Fqx /bin/elvish /etc/shells || echo /bin/elvish >> /etc/shells - grep -Fqx /usr/bin/elvish /etc/shells || echo /usr/bin/elvish >> /etc/shells -} - -post_upgrade() { - post_install -} - -pre_remove() { - sed -i -r '/^(\/usr)?\/bin\/elvish$/d' etc/shells -} - -# vim:set ts=2 sw=2 et: Copied: elvish/repos/community-x86_64/elvish.install (from rev 1166651, elvish/trunk/elvish.install) === --- elvish.install
[arch-commits] Commit in elvish/repos/community-x86_64 (4 files)
Date: Friday, December 10, 2021 @ 23:34:17 Author: grawlinson Revision: 1068164 archrelease: copy trunk to community-x86_64 Added: elvish/repos/community-x86_64/PKGBUILD (from rev 1068163, elvish/trunk/PKGBUILD) elvish/repos/community-x86_64/elvish.install (from rev 1068163, elvish/trunk/elvish.install) Deleted: elvish/repos/community-x86_64/PKGBUILD elvish/repos/community-x86_64/elvish.install + PKGBUILD | 128 +++ elvish.install | 28 ++-- 2 files changed, 79 insertions(+), 77 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-12-10 23:33:19 UTC (rev 1068163) +++ PKGBUILD2021-12-10 23:34:17 UTC (rev 1068164) @@ -1,63 +0,0 @@ -# Maintainer: George Rawlinson -# Contributor: Haochen Tong -# Contributor: Qi Xiao - -pkgname=elvish -pkgver=0.16.3 -pkgrel=1 -pkgdesc="A friendly and expressive Unix shell" -arch=('x86_64') -url="https://elv.sh; -license=('BSD') -makedepends=('git' 'go') -install="$pkgname.install" -source=("$pkgname-$pkgver.tar.gz::https://github.com/elves/elvish/archive/v$pkgver.tar.gz;) -b2sums=('e6e412cad068e01bf9d8d0d5709a3463e12bad782b2b0efe8c2b2810d349eae407de68a8b9226e4481e3f51b116207f884342b115e316b42eeb916d1c63bfdd7') - -prepare() { - cd "$pkgname-$pkgver" - - # create directory for build output - mkdir build - - # download dependencies - go mod vendor -} - -build() { - cd "$pkgname-$pkgver" - - # set Go flags - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - - go build -v \ --trimpath \ --buildmode=pie \ --mod=vendor \ --modcacherw \ --ldflags "-linkmode external -extldflags ${LDFLAGS} \ --X github.com/elves/elvish/pkg/buildinfo.Reproducible=true \ --X github.com/elves/elvish/pkg/buildinfo.Version=$pkgver" \ --o build \ -./cmd/... -} - -check() { - cd "$pkgname-$pkgver" - go test -v -race ./... -} - -package() { - cd "$pkgname-$pkgver" - - # binary - install -vDm755 -t "$pkgdir/usr/bin" build/elvish - - # documentation - install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md - - # license - install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE -} Copied: elvish/repos/community-x86_64/PKGBUILD (from rev 1068163, elvish/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-12-10 23:34:17 UTC (rev 1068164) @@ -0,0 +1,65 @@ +# Maintainer: George Rawlinson +# Contributor: Haochen Tong +# Contributor: Qi Xiao + +pkgname=elvish +pkgver=0.17.0 +pkgrel=1 +pkgdesc="A friendly and expressive Unix shell" +arch=('x86_64') +url="https://elv.sh; +license=('BSD') +depends=('glibc') +makedepends=('git' 'go') +install="$pkgname.install" +source=("$pkgname-$pkgver.tar.gz::https://github.com/elves/elvish/archive/v$pkgver.tar.gz;) +sha512sums=('bbf4895a99f3c1aa1d35cc04073feba121fda72afcb5dc241c5b1ded3c3f815d81f3ad4b9a51878ead865ecee3ea5dacc855a38057aa7e49a2ada306fc950895') +b2sums=('3725787f287dff6d2e740f75a4a62a47815166c7146d32b9358720209fc9eb4660b68599f8cc05313a44a5f02d97a0b30077588d9950048ae02a66f741795096') + +prepare() { + cd "$pkgname-$pkgver" + + # create directory for build output + mkdir build + + # download dependencies + go mod download +} + +build() { + cd "$pkgname-$pkgver" + + # 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} \ +-X github.com/elves/elvish/pkg/buildinfo.Reproducible=true \ +-X github.com/elves/elvish/pkg/buildinfo.Version=$pkgver" \ +-o build \ +./cmd/... +} + +check() { + cd "$pkgname-$pkgver" + go test -v -race ./... +} + +package() { + cd "$pkgname-$pkgver" + + # binary + install -vDm755 -t "$pkgdir/usr/bin" build/elvish + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md + + # license + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE +} Deleted: elvish.install === --- elvish.install 2021-12-10 23:33:19 UTC (rev 1068163) +++ elvish.install 2021-12-10 23:34:17 UTC (rev 1068164) @@ -1,14 +0,0 @@ -post_install() { - grep -Fqx /bin/elvish /etc/shells || echo /bin/elvish >> /etc/shells - grep -Fqx /usr/bin/elvish /etc/shells || echo /usr/bin/elvish >> /etc/shells -} - -post_upgrade() { - post_install -} - -pre_remove() { - sed -i -r '/^(\/usr)?\/bin\/elvish$/d' etc/shells -} - -# vim:set ts=2 sw=2 et: Copied: elvish/repos/community-x86_64/elvish.install (from rev 1068163, elvish/trunk/elvish.install) === --- elvish.install
[arch-commits] Commit in elvish/repos/community-x86_64 (4 files)
Date: Saturday, August 28, 2021 @ 18:08:17 Author: grawlinson Revision: 1007797 archrelease: copy trunk to community-x86_64 Added: elvish/repos/community-x86_64/PKGBUILD (from rev 1007796, elvish/trunk/PKGBUILD) elvish/repos/community-x86_64/elvish.install (from rev 1007796, elvish/trunk/elvish.install) Deleted: elvish/repos/community-x86_64/PKGBUILD elvish/repos/community-x86_64/elvish.install + PKGBUILD | 126 +++ elvish.install | 28 ++-- 2 files changed, 77 insertions(+), 77 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-08-28 18:07:16 UTC (rev 1007796) +++ PKGBUILD2021-08-28 18:08:17 UTC (rev 1007797) @@ -1,63 +0,0 @@ -# Maintainer: George Rawlinson -# Contributor: Haochen Tong -# Contributor: Qi Xiao - -pkgname=elvish -pkgver=0.16.2 -pkgrel=1 -pkgdesc="A friendly and expressive Unix shell" -arch=('x86_64') -url="https://elv.sh; -license=('BSD') -makedepends=('git' 'go') -install="$pkgname.install" -source=("$pkgname-$pkgver.tar.gz::https://github.com/elves/elvish/archive/v$pkgver.tar.gz;) -b2sums=('d76942353dc46c8ee8a04c585c745b2c4ba39857bfca8738d24e186ae88e83a57633190d55d138cca2459e265e2125ba588496908da9e2fcd20b0ff9069d194f') - -prepare() { - cd "$pkgname-$pkgver" - - # create directory for build output - mkdir build - - # download dependencies - go mod vendor -} - -build() { - cd "$pkgname-$pkgver" - - # set Go flags - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - - go build -v \ --trimpath \ --buildmode=pie \ --mod=vendor \ --modcacherw \ --ldflags "-linkmode external -extldflags ${LDFLAGS} \ --X github.com/elves/elvish/pkg/buildinfo.Reproducible=true \ --X github.com/elves/elvish/pkg/buildinfo.Version=$pkgver" \ --o build \ -./cmd/... -} - -check() { - cd "$pkgname-$pkgver" - go test -v -race ./... -} - -package() { - cd "$pkgname-$pkgver" - - # binary - install -vDm755 -t "$pkgdir/usr/bin" build/elvish - - # documentation - install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md - - # license - install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE -} Copied: elvish/repos/community-x86_64/PKGBUILD (from rev 1007796, elvish/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-08-28 18:08:17 UTC (rev 1007797) @@ -0,0 +1,63 @@ +# Maintainer: George Rawlinson +# Contributor: Haochen Tong +# Contributor: Qi Xiao + +pkgname=elvish +pkgver=0.16.3 +pkgrel=1 +pkgdesc="A friendly and expressive Unix shell" +arch=('x86_64') +url="https://elv.sh; +license=('BSD') +makedepends=('git' 'go') +install="$pkgname.install" +source=("$pkgname-$pkgver.tar.gz::https://github.com/elves/elvish/archive/v$pkgver.tar.gz;) +b2sums=('e6e412cad068e01bf9d8d0d5709a3463e12bad782b2b0efe8c2b2810d349eae407de68a8b9226e4481e3f51b116207f884342b115e316b42eeb916d1c63bfdd7') + +prepare() { + cd "$pkgname-$pkgver" + + # create directory for build output + mkdir build + + # download dependencies + go mod vendor +} + +build() { + cd "$pkgname-$pkgver" + + # set Go flags + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + + go build -v \ +-trimpath \ +-buildmode=pie \ +-mod=vendor \ +-modcacherw \ +-ldflags "-linkmode external -extldflags ${LDFLAGS} \ +-X github.com/elves/elvish/pkg/buildinfo.Reproducible=true \ +-X github.com/elves/elvish/pkg/buildinfo.Version=$pkgver" \ +-o build \ +./cmd/... +} + +check() { + cd "$pkgname-$pkgver" + go test -v -race ./... +} + +package() { + cd "$pkgname-$pkgver" + + # binary + install -vDm755 -t "$pkgdir/usr/bin" build/elvish + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md + + # license + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE +} Deleted: elvish.install === --- elvish.install 2021-08-28 18:07:16 UTC (rev 1007796) +++ elvish.install 2021-08-28 18:08:17 UTC (rev 1007797) @@ -1,14 +0,0 @@ -post_install() { - grep -Fqx /bin/elvish /etc/shells || echo /bin/elvish >> /etc/shells - grep -Fqx /usr/bin/elvish /etc/shells || echo /usr/bin/elvish >> /etc/shells -} - -post_upgrade() { - post_install -} - -pre_remove() { - sed -i -r '/^(\/usr)?\/bin\/elvish$/d' etc/shells -} - -# vim:set ts=2 sw=2 et: Copied: elvish/repos/community-x86_64/elvish.install (from rev 1007796, elvish/trunk/elvish.install) === --- elvish.install (rev 0) +++ elvish.install 2021-08-28 18:08:17 UTC (rev 1007797) @@ -0,0 +1,14 @@ +post_install() { + grep -Fqx /bin/elvish /etc/shells
[arch-commits] Commit in elvish/repos/community-x86_64 (4 files)
Date: Friday, August 27, 2021 @ 22:06:38 Author: grawlinson Revision: 1007500 archrelease: copy trunk to community-x86_64 Added: elvish/repos/community-x86_64/PKGBUILD (from rev 1007499, elvish/trunk/PKGBUILD) elvish/repos/community-x86_64/elvish.install (from rev 1007499, elvish/trunk/elvish.install) Deleted: elvish/repos/community-x86_64/PKGBUILD elvish/repos/community-x86_64/elvish.install + PKGBUILD | 120 --- elvish.install | 28 ++-- 2 files changed, 77 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-08-27 22:04:34 UTC (rev 1007499) +++ PKGBUILD2021-08-27 22:06:38 UTC (rev 1007500) @@ -1,57 +0,0 @@ -# Maintainer: George Rawlinson -# Contributor: Haochen Tong -# Contributor: Qi Xiao - -pkgname=elvish -pkgver=0.16.1 -pkgrel=1 -pkgdesc="A friendly and expressive Unix shell" -arch=('x86_64') -url="https://github.com/elves/elvish; -license=('BSD') -makedepends=('git' 'go') -install="$pkgname.install" -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -b2sums=('da57d44706f26cdf17f5ee880bba884b88a0bf46abd75b4a8f50a45e0ea168dceff483c93f0aba5264eb47e0d900174191730214dbdfed141251dbe3a3ba4c0f') - -prepare() { - cd "$pkgname-$pkgver" - mkdir build - go mod vendor -} - -build() { - cd "$pkgname-$pkgver" - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - - go build -v \ --trimpath \ --buildmode=pie \ --mod=vendor \ --modcacherw \ --ldflags "-linkmode external -extldflags ${LDFLAGS} \ --X github.com/elves/elvish/pkg/buildinfo.Reproducible=true \ --X github.com/elves/elvish/pkg/buildinfo.Version=$pkgver" \ --o build \ -./cmd/... -} - -check() { - cd "$pkgname-$pkgver" - go test -v -race ./... -} - -package() { - cd "$pkgname-$pkgver" - - # binary - install -vDm755 -t "$pkgdir/usr/bin" build/elvish - - # documentation - install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md - - # license - install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE -} Copied: elvish/repos/community-x86_64/PKGBUILD (from rev 1007499, elvish/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-08-27 22:06:38 UTC (rev 1007500) @@ -0,0 +1,63 @@ +# Maintainer: George Rawlinson +# Contributor: Haochen Tong +# Contributor: Qi Xiao + +pkgname=elvish +pkgver=0.16.2 +pkgrel=1 +pkgdesc="A friendly and expressive Unix shell" +arch=('x86_64') +url="https://elv.sh; +license=('BSD') +makedepends=('git' 'go') +install="$pkgname.install" +source=("$pkgname-$pkgver.tar.gz::https://github.com/elves/elvish/archive/v$pkgver.tar.gz;) +b2sums=('d76942353dc46c8ee8a04c585c745b2c4ba39857bfca8738d24e186ae88e83a57633190d55d138cca2459e265e2125ba588496908da9e2fcd20b0ff9069d194f') + +prepare() { + cd "$pkgname-$pkgver" + + # create directory for build output + mkdir build + + # download dependencies + go mod vendor +} + +build() { + cd "$pkgname-$pkgver" + + # set Go flags + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + + go build -v \ +-trimpath \ +-buildmode=pie \ +-mod=vendor \ +-modcacherw \ +-ldflags "-linkmode external -extldflags ${LDFLAGS} \ +-X github.com/elves/elvish/pkg/buildinfo.Reproducible=true \ +-X github.com/elves/elvish/pkg/buildinfo.Version=$pkgver" \ +-o build \ +./cmd/... +} + +check() { + cd "$pkgname-$pkgver" + go test -v -race ./... +} + +package() { + cd "$pkgname-$pkgver" + + # binary + install -vDm755 -t "$pkgdir/usr/bin" build/elvish + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" ./*.md + + # license + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE +} Deleted: elvish.install === --- elvish.install 2021-08-27 22:04:34 UTC (rev 1007499) +++ elvish.install 2021-08-27 22:06:38 UTC (rev 1007500) @@ -1,14 +0,0 @@ -post_install() { - grep -qe '^/bin/elvish$' etc/shells || echo '/bin/elvish' >> etc/shells - grep -qe '^/usr/bin/elvish$' etc/shells || echo '/usr/bin/elvish' >> etc/shells -} - -post_upgrade() { - post_install -} - -pre_remove() { - sed -i -r '/^(\/usr)?\/bin\/elvish$/d' etc/shells -} - -# vim:set ts=2 sw=2 et: Copied: elvish/repos/community-x86_64/elvish.install (from rev 1007499, elvish/trunk/elvish.install) === --- elvish.install (rev 0) +++ elvish.install 2021-08-27 22:06:38 UTC (rev 1007500) @@ -0,0 +1,14 @@ +post_install() { + grep -Fqx /bin/elvish /etc/shells || echo /bin/elvish >> /etc/shells + grep -Fqx /usr/bin/elvish /etc/shells || echo
[arch-commits] Commit in elvish/repos/community-x86_64 (4 files)
Date: Sunday, August 22, 2021 @ 00:09:18 Author: grawlinson Revision: 1004174 archrelease: copy trunk to community-x86_64 Added: elvish/repos/community-x86_64/PKGBUILD (from rev 1004173, elvish/trunk/PKGBUILD) elvish/repos/community-x86_64/elvish.install (from rev 1004173, elvish/trunk/elvish.install) Deleted: elvish/repos/community-x86_64/PKGBUILD elvish/repos/community-x86_64/elvish.install + PKGBUILD | 114 +++ elvish.install | 28 ++--- 2 files changed, 71 insertions(+), 71 deletions(-) Deleted: PKGBUILD === --- PKGBUILD2021-08-22 00:08:25 UTC (rev 1004173) +++ PKGBUILD2021-08-22 00:09:18 UTC (rev 1004174) @@ -1,57 +0,0 @@ -# Maintainer: George Rawlinson -# Contributor: Haochen Tong -# Contributor: Qi Xiao - -pkgname=elvish -pkgver=0.15.0 -pkgrel=3 -pkgdesc="A friendly and expressive Unix shell" -arch=('x86_64') -url="https://github.com/elves/elvish; -license=('BSD') -makedepends=('git' 'go') -install="$pkgname.install" -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -b2sums=('51ccf4bf51e1d750ee10b95b67c819f3d81b5bf494c0257bd7cc20d16a7de0a4e6ff61623d1fe358c3ce2d9cb360af4732a899c66a831bae66f967bb061b2c8a') - -prepare() { - cd "$pkgname-$pkgver" - mkdir build - go mod vendor -} - -build() { - cd "$pkgname-$pkgver" - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - - go build -v \ --trimpath \ --buildmode=pie \ --mod=vendor \ --modcacherw \ --ldflags "-linkmode external -extldflags ${LDFLAGS} \ --X github.com/elves/elvish/pkg/buildinfo.Reproducible=true \ --X github.com/elves/elvish/pkg/buildinfo.Version=$pkgver" \ --o build \ -./cmd/... -} - -check() { - cd "$pkgname-$pkgver" - go test -v -race ./... -} - -package() { - cd "$pkgname-$pkgver" - - # binary - install -vDm755 -t "$pkgdir/usr/bin" build/elvish - - # documentation - install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md - - # license - install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE -} Copied: elvish/repos/community-x86_64/PKGBUILD (from rev 1004173, elvish/trunk/PKGBUILD) === --- PKGBUILD(rev 0) +++ PKGBUILD2021-08-22 00:09:18 UTC (rev 1004174) @@ -0,0 +1,57 @@ +# Maintainer: George Rawlinson +# Contributor: Haochen Tong +# Contributor: Qi Xiao + +pkgname=elvish +pkgver=0.16.1 +pkgrel=1 +pkgdesc="A friendly and expressive Unix shell" +arch=('x86_64') +url="https://github.com/elves/elvish; +license=('BSD') +makedepends=('git' 'go') +install="$pkgname.install" +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +b2sums=('da57d44706f26cdf17f5ee880bba884b88a0bf46abd75b4a8f50a45e0ea168dceff483c93f0aba5264eb47e0d900174191730214dbdfed141251dbe3a3ba4c0f') + +prepare() { + cd "$pkgname-$pkgver" + mkdir build + go mod vendor +} + +build() { + cd "$pkgname-$pkgver" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + + go build -v \ +-trimpath \ +-buildmode=pie \ +-mod=vendor \ +-modcacherw \ +-ldflags "-linkmode external -extldflags ${LDFLAGS} \ +-X github.com/elves/elvish/pkg/buildinfo.Reproducible=true \ +-X github.com/elves/elvish/pkg/buildinfo.Version=$pkgver" \ +-o build \ +./cmd/... +} + +check() { + cd "$pkgname-$pkgver" + go test -v -race ./... +} + +package() { + cd "$pkgname-$pkgver" + + # binary + install -vDm755 -t "$pkgdir/usr/bin" build/elvish + + # documentation + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" *.md + + # license + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE +} Deleted: elvish.install === --- elvish.install 2021-08-22 00:08:25 UTC (rev 1004173) +++ elvish.install 2021-08-22 00:09:18 UTC (rev 1004174) @@ -1,14 +0,0 @@ -post_install() { - grep -qe '^/bin/elvish$' etc/shells || echo '/bin/elvish' >> etc/shells - grep -qe '^/usr/bin/elvish$' etc/shells || echo '/usr/bin/elvish' >> etc/shells -} - -post_upgrade() { - post_install -} - -pre_remove() { - sed -i -r '/^(\/usr)?\/bin\/elvish$/d' etc/shells -} - -# vim:set ts=2 sw=2 et: Copied: elvish/repos/community-x86_64/elvish.install (from rev 1004173, elvish/trunk/elvish.install) === --- elvish.install (rev 0) +++ elvish.install 2021-08-22 00:09:18 UTC (rev 1004174) @@ -0,0 +1,14 @@ +post_install() { + grep -qe '^/bin/elvish$' etc/shells || echo '/bin/elvish' >> etc/shells + grep -qe '^/usr/bin/elvish$' etc/shells || echo '/usr/bin/elvish' >> etc/shells +} + +post_upgrade() { + post_install +} + +pre_remove() { + sed -i -r