diff options
author | Sean Bartell | 2015-06-08 11:17:03 -0500 |
---|---|---|
committer | Sean Bartell | 2015-06-08 11:17:03 -0500 |
commit | 967e04f794f2b33792fee902ccec3cf76cbbaa92 (patch) | |
tree | 751ecdc2f57b8679c09c78ca37370029b9c13f42 | |
download | aur-967e04f794f2b33792fee902ccec3cf76cbbaa92.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..db25e2b84e91 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = ncsa-mosaic-git + pkgdesc = One of the first graphical web browsers + pkgver = 2.7b6.r25.gaf942b9 + pkgrel = 1 + epoch = 1 + url = http://github.com/yotann/ncsa-mosaic + arch = i686 + arch = x86_64 + license = custom + makedepends = git + depends = lesstif + depends = libjpeg + depends = libpng + depends = libxmu + depends = libxpm + options = !makeflags + source = git://github.com/yotann/ncsa-mosaic + md5sums = SKIP + +pkgname = ncsa-mosaic-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9e2ac5b130dd --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Contributor: Konstantin Mochalov <incredible.angst@gmail.com> +# Maintainer: FredBezies <fredbezies@gmail.com> +# Maintainer: Sean Bartell <archlinux@yotann.org> + +pkgname="ncsa-mosaic-git" +epoch=1 +pkgver=2.7b6.r25.gaf942b9 +_pkgver=2.7b6 +pkgrel=1 +pkgdesc="One of the first graphical web browsers" +url="http://github.com/yotann/ncsa-mosaic" +license=(custom) +arch=(i686 x86_64) +depends=(lesstif libjpeg libpng libxmu libxpm) +makedepends=("git") +source=("git://github.com/yotann/ncsa-mosaic") +md5sums=(SKIP) +options=(!makeflags) + +pkgver() { + cd ncsa-mosaic + echo $_pkgver.r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD) +} + +build() { + cd ncsa-mosaic + make linux +} + +package() { + cd ncsa-mosaic + install -Dm0755 "src/Mosaic" "$pkgdir/usr/bin/Mosaic" + install -Dm0644 "COPYRIGHT" "$pkgdir/usr/share/licenses/$pkgname/COPYRIGHT" + install -Dm0644 "desktop/Mosaic.png" "$pkgdir/usr/share/icons/Mosaic.png" + install -Dm0644 "desktop/Mosaic.desktop" "$pkgdir/usr/share/applications/Mosaic.desktop" +} |