summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authoriftakhar.awal@yahoo.com2020-09-05 16:02:08 +0600
committeriftakhar.awal@yahoo.com2020-09-05 16:02:08 +0600
commit444a4fc5a122ab90487e4fb25814e5b3efe044ca (patch)
tree32e2d22dc95e663b2d096eb5b22b3c66f90dd5f8
downloadaur-444a4fc5a122ab90487e4fb25814e5b3efe044ca.tar.gz
Initial Release
-rw-r--r--.SRCINFO30
-rw-r--r--PKGBUILD45
2 files changed, 75 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0f9ab7e983f
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,30 @@
+pkgbase = alacritty-ligatures-git
+ pkgdesc = A cross-platform, GPU-accelerated terminal emulator. (GIT VERSION)
+ pkgver = 6.2.r1661.0146076
+ pkgrel = 1
+ url = https://github.com/alacritty/alacritty
+ arch = x86_64
+ arch = i686
+ license = Apache
+ checkdepends = ttf-dejavu
+ makedepends = rust
+ makedepends = cargo
+ makedepends = cmake
+ makedepends = fontconfig
+ makedepends = ncurses
+ makedepends = desktop-file-utils
+ makedepends = gdb
+ makedepends = libxcb
+ makedepends = git
+ depends = freetype2
+ depends = fontconfig
+ depends = libxi
+ depends = libxcursor
+ depends = libxrandr
+ provides = alacritty
+ conflicts = alacritty
+ source = alacritty::git+https://github.com/zenixls2/alacritty.git#branch=ligature
+ sha256sums = SKIP
+
+pkgname = alacritty-ligatures-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f1397c47742
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+pkgname='alacritty-ligatures-git'
+_pkgname="alacritty"
+pkgver=6.2.r1661.0146076
+pkgrel=1
+arch=('x86_64' 'i686')
+url="https://github.com/alacritty/alacritty"
+pkgdesc="A cross-platform, GPU-accelerated terminal emulator. (GIT VERSION)"
+license=('Apache')
+depends=('freetype2' 'fontconfig' 'libxi' 'libxcursor' 'libxrandr')
+makedepends=('rust' 'cargo' 'cmake' 'fontconfig' 'ncurses' 'desktop-file-utils' 'gdb' 'libxcb' 'git')
+checkdepends=('ttf-dejavu') # for monospace fontconfig test
+provides=('alacritty')
+conflicts=('alacritty')
+source=("$_pkgname::git+https://github.com/zenixls2/alacritty.git#branch=ligature")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${_pkgname}"
+ printf "6.2.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build(){
+ cd "$_pkgname"
+ env CARGO_INCREMENTAL=0 cargo build --release --locked
+}
+
+check(){
+ cd "$_pkgname"
+ env CARGO_INCREMENTAL=0 cargo test --release
+}
+
+package_alacritty-ligatures-git() {
+ cd $_pkgname
+
+ desktop-file-install -m 644 --dir "$pkgdir/usr/share/applications/" "$srcdir/$_pkgname/extra/linux/Alacritty.desktop"
+
+ install -D -m755 "target/release/alacritty" "$pkgdir/usr/bin/alacritty"
+ install -D -m644 "extra/alacritty.man" "$pkgdir/usr/share/man/man1/alacritty.1"
+ install -D -m644 "extra/linux/io.alacritty.Alacritty.appdata.xml" "$pkgdir/usr/share/appdata/io.alacritty.Alacritty.appdata.xml"
+ install -D -m644 "alacritty.yml" "$pkgdir/usr/share/doc/alacritty/example/alacritty.yml"
+ install -D -m644 "extra/completions/alacritty.bash" "$pkgdir/usr/share/bash-completion/completions/alacritty"
+ install -D -m644 "extra/completions/_alacritty" "$pkgdir/usr/share/zsh/site-functions/_alacritty"
+ install -D -m644 "extra/completions/alacritty.fish" "$pkgdir/usr/share/fish/vendor_completions.d/alacritty.fish"
+ install -D -m644 "extra/logo/alacritty-term.svg" "$pkgdir/usr/share/pixmaps/Alacritty.svg"
+}