diff options
author | Daniel Pereira | 2021-01-01 19:11:39 -0300 |
---|---|---|
committer | Daniel Pereira | 2021-01-01 19:11:39 -0300 |
commit | d602a06b0f8a29581c3f8637cffc65682ab2703e (patch) | |
tree | bccf19f333f403005c5b43d11ad4b6f7176942b2 | |
download | aur-d602a06b0f8a29581c3f8637cffc65682ab2703e.tar.gz |
feat: initial commit
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | PKGBUILD | 24 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..170316dadf6e --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = pacom + pkgdesc = Pacom: the Pacman companion + pkgver = 1.0.0 + pkgrel = 1 + url = https://github.com/kriansa/pacom + arch = any + license = apache + depends = jq + depends = curl + source = https://github.com/kriansa/pacom/archive/v1.0.0.tar.gz + sha256sums = 7f6d969262f3145e66de929b5f5107d9d60dd3a3c4d6e49c47e8c4f65f090551 + +pkgname = pacom + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e630d392f891 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Daniel Pereira <daniel@garajau.com.br> + +pkgname=pacom +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Pacom: the Pacman companion" +url="https://github.com/kriansa/pacom" +arch=(any) +license=(apache) +depends=(jq curl) +source=("https://github.com/kriansa/pacom/archive/v${pkgver}.tar.gz") +sha256sums=(b8e7fc92479fdeecf542ff7430d47be9f5973ee223d83c94c2d6fa4a4bc1aace) + +build() { + cd "$pkgname-$pkgver" || exit 1 + make +} + +package() { + cd "$pkgname-$pkgver" || exit 1 + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + cp -r build/pacom "$pkgdir" +} |