Skip to content

Commit

Permalink
add - Added PKGBUILD files
Browse files Browse the repository at this point in the history
---

We've added PKGBUILD files for release and VCS with 0BSD as the license.

---

Type: add
Breaking: False
Doc Required: False
Backport Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Jan 14, 2025
1 parent 899856d commit dc8aeb3
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
# Set default behavior to automatically normalize line endings.
###############################################################################
* text=auto
PKGBUILD* text eol=lf

###############################################################################
# Set default behavior for command prompt diff.
Expand Down
12 changes: 12 additions & 0 deletions LICENSE-PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Copyright 2024 Arch Linux Contributors

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
17 changes: 17 additions & 0 deletions PKGBUILD-REL
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Maintainer: Aptivi <ceo at aptivi dot anonaddy dot com>
pkgname=bskyid
pkgver=1.0.1
pkgrel=1
pkgdesc="Unofficial application to fetch your BlueSky ID"
arch=(any)
url="https://aptivi.github.io"
license=('GPL-3.0-or-later')
depends=('bash')
options=('!strip')
source=("${pkgname}::git+https://github.com/Aptivi/BskyId#tag=v1.0.1")
sha256sums=('SKIP')

package() {
cd "${pkgname}"
make install DESTDIR=$pkgdir
}
24 changes: 24 additions & 0 deletions PKGBUILD-VCS
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Maintainer: Aptivi <ceo at aptivi dot anonaddy dot com>
pkgname=bskyid-git
pkgver=v1.0.1.r0.899856d
pkgrel=1
pkgdesc="Unofficial application to fetch your BlueSky ID"
arch=(any)
url="https://aptivi.github.io"
license=('GPL-3.0-or-later')
depends=('bash')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
options=('!strip')
source=("${pkgname}::git+https://github.com/Aptivi/BskyId#branch=main")
sha256sums=('SKIP')

pkgver() {
cd "${pkgname}"
printf "%s" "$(git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g')"
}

package() {
cd "${pkgname}"
make install DESTDIR=$pkgdir
}

0 comments on commit dc8aeb3

Please sign in to comment.