summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cd5b2e670a31cc755c0c0e8add8749b00a042bde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Maintainer: Étienne Deparis <etienne@depar.is>

pkgname=no-more-secrets
pkgver=1.0.1
pkgrel=2
pkgdesc="A command line tool that recreates the famous data decryption effect seen in the 1992 movie Sneakers."
url="https://github.com/bartobri/no-more-secrets"
arch=('i686' 'x86_64')
license=('GPL3')
source=("https://github.com/bartobri/$pkgname/archive/v$pkgver.tar.gz")
sha256sums=('4422e59bb3cf62bca3c73d1fdae771b83aab686cd044f73fe14b1b9c2af1cb1b')
conflicts=("no-more-secrets-git")

build() {
    cd $pkgname-$pkgver
    make all
}

package() {
    cd $pkgname-$pkgver
    make install DESTDIR="$pkgdir" prefix=/usr

    install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
    install -D -m644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
    install -D -m644 NCURSES.md "$pkgdir/usr/share/doc/$pkgname/NCURSES.md"
}