diff options
author | Randoragon | 2021-01-24 15:01:42 +0100 |
---|---|---|
committer | Randoragon | 2021-01-24 15:01:42 +0100 |
commit | c7e3932be9ea4a7a2fd52ccdc51cc6daff4fdabf (patch) | |
tree | ec4c35a6fce26e2224b0988545c00c1df61c03e8 | |
download | aur-c7e3932be9ea4a7a2fd52ccdc51cc6daff4fdabf.tar.gz |
Init commit
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 36 |
2 files changed, 55 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1faa704a7704 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = surf-randoragon-git + pkgdesc = Randoragon's build of the suckless surf web browser + pkgver = 1.0.r588.31e49bf + pkgrel = 1 + url = https://github.com/randoragon/surf + arch = x86_64 + license = MIT + makedepends = git + depends = libx11 + depends = webkit2gtk + depends = xorg-xprop + optdepends = dmenu + provides = surf + conflicts = surf + source = git+https://github.com/randoragon/surf + md5sums = SKIP + +pkgname = surf-randoragon-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9b682db8c4e6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,36 @@ +# Maintainer: Randoragon <randoragongamedev@gmail.com> + +pkgname=surf-randoragon-git +pkgver=1.0.r588.31e49bf +pkgrel=1 +epoch= +pkgdesc="Randoragon's build of the suckless surf web browser" +arch=('x86_64') +url="https://github.com/randoragon/surf" +license=('MIT') +depends=(libx11 webkit2gtk xorg-xprop) +makedepends=(git) +optdepends=('dmenu') +source=("git+$url") +md5sums=('SKIP') +provides=('surf') +conflicts=('surf') + +pkgver() { + cd surf + printf "1.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +build() { + cd surf + make +} + +package() { + cd surf + mkdir -p "$pkgdir/usr/bin" + make DESTDIR="$pkgdir/" PREFIX=/usr install + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/license.txt" + install -Dm644 README.MD "$pkgdir/usr/share/doc/$pkgname/README.MD" +} + |