summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Hofmann2021-11-19 16:38:39 +0100
committerPeter Hofmann2021-11-19 16:59:09 +0100
commitc86189a271256b212df07cd861deafbcd7458082 (patch)
tree0193aaf3765f3aa3a318e7be7b1cbb8fd7eda9e4
parent0f2403cd0a958a0126a85ce5d1fd2f5724a93c73 (diff)
downloadaur-c86189a271256b212df07cd861deafbcd7458082.tar.gz
Switch to Alan Dipert's repo
One of the big reasons to use Sean Bartell's repo was that it contained a patch to support newer versions of libpng. A similar patch has landed in Alan Dipert's repo recently [0]. As I understand it, Alan Dipert's repo is the "original" one, so let's switch to that. [0]: https://github.com/alandipert/ncsa-mosaic/commit/3566a6a42b0d32d7084ac304615189b57f902257
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD11
2 files changed, 8 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 00d65da54078..f3634199fdf5 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
pkgbase = ncsa-mosaic-git
pkgdesc = One of the first graphical web browsers
- pkgver = 2.7b6.r30.5d3543d
+ pkgver = 2.7b6.r37.6b855b3
pkgrel = 1
epoch = 1
- url = https://github.com/yotann/ncsa-mosaic
+ url = https://github.com/alandipert/ncsa-mosaic
arch = i686
arch = x86_64
license = custom
@@ -21,8 +21,7 @@ pkgbase = ncsa-mosaic-git
conflicts = ncsa-mosaic
conflicts = mosaic
options = !makeflags
- source = git+https://github.com/yotann/ncsa-mosaic.git
+ source = git+https://github.com/alandipert/ncsa-mosaic.git
sha256sums = SKIP
pkgname = ncsa-mosaic-git
-
diff --git a/PKGBUILD b/PKGBUILD
index 949cc7603471..b9bf9d3b946a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,11 +6,11 @@
pkgname=ncsa-mosaic-git
epoch=1
-pkgver=2.7b6.r30.5d3543d
+pkgver=2.7b6.r37.6b855b3
_pkgver=2.7b6
pkgrel=1
pkgdesc="One of the first graphical web browsers"
-url="https://github.com/yotann/ncsa-mosaic"
+url="https://github.com/alandipert/ncsa-mosaic"
license=('custom')
arch=('i686' 'x86_64')
depends=('openmotif' 'libjpeg' 'libpng' 'libxmu' 'libxpm' 'xorg-fonts-misc' 'xorg-fonts-100dpi'
@@ -19,7 +19,7 @@ makedepends=('git')
provides=("${pkgname%-git}" 'mosaic')
conflicts=("${pkgname%-git}" 'mosaic')
options=(!makeflags)
-source=('git+https://github.com/yotann/ncsa-mosaic.git')
+source=('git+https://github.com/alandipert/ncsa-mosaic.git')
sha256sums=('SKIP')
pkgver() {
@@ -29,14 +29,13 @@ pkgver() {
build() {
cd "$srcdir/${pkgname%-git}"
- make linux
+ # https://github.com/alandipert/ncsa-mosaic/issues/14
+ make linux customflags=-fcommon
}
package() {
cd "$srcdir/${pkgname%-git}"
install -Dm755 src/Mosaic -t "$pkgdir/usr/bin"
install -Dm644 COPYRIGHT -t "$pkgdir/usr/share/licenses/${pkgname%-git}"
- install -Dm644 desktop/Mosaic.png -t "$pkgdir/usr/share/icons"
- install -Dm644 desktop/Mosaic.desktop -t "$pkgdir/usr/share/applications"
install -Dm644 docs/resources.html -t "$pkgdir/usr/share/doc/${pkgname%-git}"
}