diff options
author | blmayer | 2022-08-11 01:25:27 -0300 |
---|---|---|
committer | blmayer | 2022-08-11 01:34:08 -0300 |
commit | dbda1299fc364bba4f0112fcf7f2add6d06d3036 (patch) | |
tree | 2457b7074332165ca54645e4af72ad7a95a2216e | |
download | aur-dbda1299fc364bba4f0112fcf7f2add6d06d3036.tar.gz |
Added PKGBUILD and script
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 45 | ||||
-rwxr-xr-x | ladybird | 3 |
3 files changed, 69 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..ffd457fd7cb1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = ladybird + pkgdesc = A web browser built from scratch + pkgver = 7040a8790c1a8cb4879abe04b1198ec6e64d1c92 + pkgrel = 1 + url = https://github.com/awesomekling/ladybird + arch = x86_64 + license = BSD-2-Clause + makedepends = cmake + makedepends = libgl + makedepends = ninja + makedepends = qt6-base + makedepends = qt6-tools + makedepends = qt6-wayland + depends = qt6-base + depends = libgl + source = https://github.com/awesomekling/ladybird/archive/7040a8790c1a8cb4879abe04b1198ec6e64d1c92.zip + source = ladybird + sha256sums = 3a516fed8f605c427ef8131633ecd5833ac8f65195de577386cf1c3b07465553 + sha256sums = 1d0fc030877f9074443ef71835518c043908360b5dac67d907d8b2317baa37c4 + +pkgname = ladybird diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..02a5862bfec0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,45 @@ +# Maintainer: brain <brain@derelict.garden> +pkgname='ladybird' +pkgver='7040a8790c1a8cb4879abe04b1198ec6e64d1c92' +pkgrel=1 +pkgdesc="A web browser built from scratch" +arch=('x86_64') +url="https://github.com/awesomekling/ladybird" +license=('BSD-2-Clause') +groups=() +depends=(qt6-base libgl) +makedepends=(cmake libgl ninja qt6-base qt6-tools qt6-wayland) +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=( + "https://github.com/awesomekling/$pkgname/archive/$pkgver.zip" + "ladybird" +) +noextract=() +sha256sums=( + '3a516fed8f605c427ef8131633ecd5833ac8f65195de577386cf1c3b07465553' + '1d0fc030877f9074443ef71835518c043908360b5dac67d907d8b2317baa37c4' +) + +build() { + cd "$pkgname-$pkgver" + + cmake -GNinja -B Build + cmake --build Build + ninja -C Build +} + +package() { + cd "$pkgname-$pkgver" + mkdir -p "$pkgdir/usr/lib" "$pkgdir/usr/share/serenity" + cp -R Build/_deps/lagom-build/*.so* "$pkgdir/usr/lib/" + cp -R Build/serenity/* "$pkgdir/usr/share/serenity/" + install -Dm0755 Build/ladybird "$pkgdir/usr/share/serenity/Base/bin/$pkgname" + install -Dm0755 "$srcdir/$pkgname" "$pkgdir/usr/bin/$pkgname" +} diff --git a/ladybird b/ladybird new file mode 100755 index 000000000000..33068202ebb5 --- /dev/null +++ b/ladybird @@ -0,0 +1,3 @@ +#!/bin/sh + +SERENITY_SOURCE_DIR=/usr/share/serenity /usr/share/serenity/Base/bin/ladybird |