diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,21 +1,21 @@ # Maintainer: Brett Lee (ItzAfroBoy) <me.caramackid@gmail.com> pkgname=txt pkgver=1.0.0 -pkgrel=1 +pkgrel=2 pkgdesc="A shitty text editor written in C99" arch=('any') -url="https://github.com/ItzAfroBoy/txt.git" +url="https://github.com/ItzAfroBoy/txt" license=('GPL3') -source=("git+$url") -md5sums=('SKIP') +source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz") +md5sums=('811fd6c6987c46c1d92640eb6cbea33c') build() { - cd "${pkgname}" + cd "${pkgname}-${pkgver}" make } package() { - cd "${pkgname}" + cd "${pkgname}-${pkgver}" install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" install -Dm 644 README.md "${pkgdir}/usr/share/doc/${pkgname}/README.md" mkdir -p "${pkgdir}/usr/bin" |